Hi,
Im developing a site locally, it runs in a subdir of wwwroot (lets say
in subdir SOMESITE). So appMapping is SOMESITE.
At the company im developing it for it runs in the root, so appMapping
is an empty string.
The problem is, when i include css and javascript i refer to it as:
href="/#getSetting('appMapping')#/whatever.css"
But when the appMapping is empty string. It turns into:
href="//whatever.css"
Which their server cant handle (IIS).
So i need some other setting (like appRoot or something?), which has a
leading slash if its not an empty string.
How do you guys solve this? Im having the feeling im overlooking
something really obvious.
greets,
klaas