In a WASM hosted project, I would like to change the app base path dynamically: given an appSettings.json configuration file, I would like to store the value associated to a given key in a variable, and set the <base href="..."/> tag with the content of this variable.
Currently, I can't do this because in an HTML file I can't get the configurations parameter. So I see a few ways :
- use javascript
- change index.html (the file which contains the base tag) to a razor file
I searched on google and will continue, but if someone can give me advices on how to continue, it would be nice.