Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Use mydomain.com for the public site ASP.NET Core + Angular #4781


User avatar
0
trenxo created

Hi guys,

I set up the projects with the following custom domains: Web.Public - mydomain.com Web.Host - api.mydomain.com AngularUI - *.mydomain.com

The problem is when I configure the AngularUI`s appconfig.json as following:

"remoteServiceBaseUrl": "http://api.mydomain.com"
"appBaseUrl": "http://{TENANCY_NAME}.mydomain.com"

All assets (for example the logo image in the login page) are not found as the app is looking at the public`s website assets.

Any ideas how to configure the apps to use the specified domains?

Thanks in advance.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @trenxo this must be fixed in <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/commit/4ab86af4a6096fe1206e2e578b9e6666d542d8f9">https://github.com/aspnetzero/aspnet-ze ... 66d542d8f9</a>.

    This commit contains fix for both Angular and jQuery UI, so you can just get the changes for Angular UI.