Home URL should be non-hosted

This commit is contained in:
Konstantin Wohlwend 2026-06-08 18:23:57 -07:00
parent 48f498b416
commit dbb397dcbc
2 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,7 @@ describe("handler URL targets", () => {
expect(urls.signIn).toBe("https://project-id.example-stack-hosted.test/handler/sign-in");
expect(urls.signOut).toBe("https://project-id.example-stack-hosted.test/handler/sign-out");
expect(urls.home).toBe("/");
expect(urls.afterSignIn).toBe("/");
expect(urls.afterSignUp).toBe("/");
expect(urls.afterSignOut).toBe("/");

View File

@ -121,6 +121,7 @@ const isRelativeUrlString = (url: string): boolean => {
};
const nonHostedHandlerNames = new Set<keyof HandlerUrls>([
"home",
"afterSignIn",
"afterSignUp",
"afterSignOut",