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

CSS not loaded (sub dir) #7252


User avatar
0
kpmg created

Hi guys,

i have a problem while i have deployed an instance of ASP.Net Zero to Azure with the following priciples: Framework version 6.9.1 .Net Core Angular SPA UI endpoint: https://foo.com/app Backend endpoint: https://foo.com/app-api

Already did the ng build --prod --base-href "/app/" worked fine (<base href="/app/"> is set).

When i now hit the application (nearly) everything will be loaded perfectly without a couple of static files (see screenshot). The ui-sub directory "/app/" is missing in the URL identitfier, but why is it missing in only a few resources? The resources are available and accessable. The app is not hosted in a virtual dir as i know, that .Net Core does not support virtual dirs.

Does anyone have a hint for me?

Kind regards Michael


1 Answer(s)