fix: update comment
This commit is contained in:
@@ -24,7 +24,7 @@ export async function GET(request: NextRequest) {
|
||||
request.nextUrl.searchParams.get("redirectTo") ||
|
||||
"/"
|
||||
|
||||
// If above fails, always redirect to startpage
|
||||
// Make relative URL to absolute URL
|
||||
if (redirectTo.startsWith("/")) {
|
||||
if (!env.PUBLIC_URL) {
|
||||
throw internalServerError("No value for env.PUBLIC_URL")
|
||||
|
||||
Reference in New Issue
Block a user