Skip to content

Commit 98080b8

Browse files
default api endpoint to prod
1 parent e292a93 commit 98080b8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend-nextjs/src/lib/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const API_BASE_URL = process.env.NEXT_API_BASE_URL || "http://localhost:8080";
1+
const API_BASE_URL = process.env.NEXT_API_BASE_URL || "https://chaos-api.devsoc.app";
22

33
const isServer = typeof window === "undefined";
44

frontend-nextjs/src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ export function proxy(request: NextRequest) {
3434
export const config = {
3535
matcher: [
3636
// Skip all internal paths (_next)
37-
"/((?!_next|api|favicon.ico|placeholder.svg|chaos.png).*)",
37+
"/((?!_next|api|status|favicon.ico|placeholder.svg|chaos.png).*)",
3838
],
3939
};

0 commit comments

Comments
 (0)