We have a Servicestack API hosted in a virtual application within IIS. When attempting to view the Auto API HTML we have issues with the location of the css and js files. Assuming our virtual folder is called test and our API path is ‘/api’. Servicestack attempts to load the files from the following locations (note that the CSS is generated with the virtual folder name whereas the js files are not).
https://site.localhost/test/css/highlight.css
https://site.localhost/js/highlight.js
These files are actually accessible at the following locations:
https://site.localhost/test/api/css/highlight.css
https://site.localhost/test/api/js/highlight.js
How do we configure the application to point to the correct location for these resources?