fix: EMandate
This commit is contained in:
@@ -45,7 +45,7 @@ export async function POST(req: Request) {
|
||||
const encodedData = String(data);
|
||||
|
||||
const redirectUrl = `${forwardedProto}://${forwardedHost}/eMandate/login/page?data=${encodedData}`;
|
||||
|
||||
console.log("redirect urls:", redirectUrl);
|
||||
const response = NextResponse.redirect(redirectUrl, 303); // use 303 instead of 302
|
||||
|
||||
response.headers.set("Access-Control-Allow-Origin", "*");
|
||||
|
||||
Reference in New Issue
Block a user