-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello @hieuhani
Thank you for this amazing module.
When looking around on your website techgoda.net, I found that when I navigate to a non-existing tenant, the page is completely empty. For example: https://unknown.techgoda.net/
Might want to redirect to the main page or show fallback/error message?
const tenant = useTenant();
// SSR login to check if tenant is valid
if (!tenant ...) {
// Use absolute url otherwise it will redirect to tenant subdomain
await navigateTo(..., { external: true })
}Also, is this the best way to handle tenant validity check? Or do you recommend any other way?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels