mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-19 21:00:40 +08:00
Home URL should be non-hosted
This commit is contained in:
parent
48f498b416
commit
dbb397dcbc
@ -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("/");
|
||||
|
||||
@ -121,6 +121,7 @@ const isRelativeUrlString = (url: string): boolean => {
|
||||
};
|
||||
|
||||
const nonHostedHandlerNames = new Set<keyof HandlerUrls>([
|
||||
"home",
|
||||
"afterSignIn",
|
||||
"afterSignUp",
|
||||
"afterSignOut",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user