I have a (secured) aurelia application that is accessed through https://app.mydomain.be and would like to build a public part to this application which does not require any authentication, eg. https://pub.mydomain.be. As I want to re-use my (UI) libraries, I’d like to have 1 aurelia application that is able to pick the right root based on the URL the client is using…
app.mydomain.be → setRoot(“private-root”)
pub.mydomain.be → setRoot(“public-root”)
Is this possible?
Any help on this would be very welcome…