We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a2d24 commit 2a877a7Copy full SHA for 2a877a7
peerprep-fe/src/middleware.ts
@@ -1,7 +1,8 @@
1
import { NextResponse } from 'next/server';
2
import type { NextRequest } from 'next/server';
3
4
-const baseURL = process.env.AUTH_SERVICE_URL || 'http://172.17.0.1:3001/api/v1';
+const baseURL =
5
+ process.env.NEXT_PUBLIC_AUTH_SERVICE_URL || 'http://172.17.0.1:3001/api/v1';
6
7
// This function can be marked `async` if using `await` inside
8
export async function middleware(request: NextRequest) {
0 commit comments