diff --git a/Foxnouns.Frontend/src/routes/auth/callback/email/[code]/+page.server.ts b/Foxnouns.Frontend/src/routes/auth/callback/email/[code]/+page.server.ts index 76829a6..f91a7f3 100644 --- a/Foxnouns.Frontend/src/routes/auth/callback/email/[code]/+page.server.ts +++ b/Foxnouns.Frontend/src/routes/auth/callback/email/[code]/+page.server.ts @@ -9,7 +9,7 @@ import { redirect, isRedirect } from "@sveltejs/kit"; export const load = createCallbackLoader("email", async ({ params }) => { log.info("params:", params, "code:", params.code); - return { state: params.code! }; + return { code: params.code! }; }); export const actions = { diff --git a/docker/Caddyfile b/docker/Caddyfile index 9132068..a729fa8 100644 --- a/docker/Caddyfile +++ b/docker/Caddyfile @@ -1,11 +1,11 @@ # Frontend and API -http://localhost:80 { +http://:80 { reverse_proxy /api/* http://rate:5003 reverse_proxy http://frontend:3000 } # prns.cc (profile URL shortener) -http://localhost:81 { +http://:81 { rewrite * /sid{uri} reverse_proxy http://backend:5000 }