fix email callback
This commit is contained in:
parent
115c5120a2
commit
775c17ca20
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ import { redirect, isRedirect } from "@sveltejs/kit";
|
||||||
export const load = createCallbackLoader("email", async ({ params }) => {
|
export const load = createCallbackLoader("email", async ({ params }) => {
|
||||||
log.info("params:", params, "code:", params.code);
|
log.info("params:", params, "code:", params.code);
|
||||||
|
|
||||||
return { state: params.code! };
|
return { code: params.code! };
|
||||||
});
|
});
|
||||||
|
|
||||||
export const actions = {
|
export const actions = {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Frontend and API
|
# Frontend and API
|
||||||
http://localhost:80 {
|
http://:80 {
|
||||||
reverse_proxy /api/* http://rate:5003
|
reverse_proxy /api/* http://rate:5003
|
||||||
reverse_proxy http://frontend:3000
|
reverse_proxy http://frontend:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
# prns.cc (profile URL shortener)
|
# prns.cc (profile URL shortener)
|
||||||
http://localhost:81 {
|
http://:81 {
|
||||||
rewrite * /sid{uri}
|
rewrite * /sid{uri}
|
||||||
reverse_proxy http://backend:5000
|
reverse_proxy http://backend:5000
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue