fix email callback

This commit is contained in:
sam 2024-12-11 02:05:37 +01:00
parent 115c5120a2
commit 775c17ca20
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 3 additions and 3 deletions

View file

@ -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 = {

View file

@ -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
}