0
nhontran created
- ABP Framework version: v3.3.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
Hi, we are hosting our Identity Server in IIS under a virtual application with the path: /identity/*
and we got the 404 not found when calling the switch tenant popup, we found that it calls the url **/Abp/MultiTenancy/TenantSwitchModal **instead of /identity/Abp/MultiTenancy/TenantSwitchModal due to the code below:
var tenantSwitchModal = new abp.ModalManager(abp.appPath + 'Abp/MultiTenancy/TenantSwitchModal');
May I know how to fix the issue?
2 Answer(s)
-
0
You can override the
js
file.In addition to adding new CSS/JavaScript file to a page, you also can replace the existing one (by defining a bundle contributor).
See more details: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#example-add-a-javascript-file-for-a-specific-page
-
0
Hi, we have followed and override the JavaScript, it works now.
Thank you.