Skip to content

Commit 05177fe

Browse files
authored
Merge pull request #132 from CS3219-AY2425S1/fix/middleware
fix middleware route
2 parents 28341bd + 34458ab commit 05177fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

peerprep-fe/src/middleware.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { NextResponse } from 'next/server';
22
import type { NextRequest } from 'next/server';
33

44
const baseURL =
5-
process.env.NEXT_PUBLIC_AUTH_SERVICE_DOCKER_URL ||
5+
process.env.NEXT_PUBLIC_API_GATEWAY_DOCKER_URL ||
6+
process.env.NEXT_PUBLIC_API_GATEWAY_URL ||
67
'http://172.17.0.1:3001/api/v1';
78

89
// This function can be marked `async` if using `await` inside.

0 commit comments

Comments
 (0)