0
rafalpiotrowski created
version 6.3.1
I am using multitenant site address
when I hit address default.myappdomain the application gets the default and check if it is a tenant is so it goes and call changeTenantIfNeeded
changeTenantIfNeeded(tenantId?: number): boolean {
if (this.isCurrentTenant(tenantId)) {
return false;
}
abp.multiTenancy.setTenantIdCookie(tenantId);
location.reload();
return true;
}
this reloads the page and I get error 404
1 Answer(s)
-
0
added
, { useHash: true }
to root-routing.module.tsimports: [RouterModule.forRoot(routes, { useHash: true })],