I am building a web client with Aurelia and I really love it. I use ASP.NET to deploy a REST endpoint and my Aurelia app.
Can I read the base URL from within my Aurelia app, so I can use this when I specify the URL of my REST endpoint?
I can of course handle this configuration manually, but I would like to know what the best practise is to switch between localhost:9000 and the production site.
Apologies for being new to Aurelia… and thanks