Skip to content
Snippets Groups Projects
Commit 3ac63f11 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Prettify

parent 23fb4130
No related branches found
No related tags found
No related merge requests found
Pipeline #18382 passed
......@@ -75,7 +75,10 @@ export const GET: RequestHandler = async ({
},
)
const redirectUrl = new URL(`/auth/restore_state`, publicConfig.baseUrl).toString()
const redirectUrl = new URL(
`/auth/restore_state`,
publicConfig.baseUrl,
).toString()
return new Response(`Redirecting to ${redirectUrl}…`, {
status: 302,
headers: {
......
import type { RequestHandler } from "./$types"
import publicConfig from "$lib/public_config"
export const GET: RequestHandler = async () => {
const redirectUrl = new URL(`/auth/restore_state`, publicConfig.baseUrl).toString()
const redirectUrl = new URL(
`/auth/restore_state`,
publicConfig.baseUrl,
).toString()
return new Response(`Redirecting to ${redirectUrl}…`, {
status: 302,
headers: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment