fix: add headers correctly
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ export function serverClient() {
|
||||
const lang = ctx?.lang || Lang.en
|
||||
if (ctx?.webToken) {
|
||||
console.log({ ctx })
|
||||
const returnUrl = ctx.pathname || overview[lang]
|
||||
const returnUrl = ctx.url
|
||||
|
||||
const redirectUrl = `/${lang}/webview/refresh?returnurl=${encodeURIComponent(returnUrl)}`
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user