Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
base URL #686
We have multiple developers, we'd like all developer instances to be running on their own route (i.e. Apache style "sites").
i.e. https://www.ourdomain.com/developerOne (we're using port 5000 + some unique digits from our system id)
The /node/ segment of the url is not necessary and I've had our system administrator remove it from the Apache config. We do this using proxy style redirects to our port.
Developers like myself will have a procedure like so:
There doesn't seem to be a way to address this. Express has the capacity to set a base URL:
Is this possible in adonis?
I would love to know whether this is possible as well. I have Adonis installed on a subdirectory, and all links are defaulting to base url without the subdirectory. For example: example.com/blog is home for Adonis, and once I click the link to sign up or login it takes me to example.com/login
@RomainLanz I've attempted to add:
I've also tried it without the protocol, however it had no effect.
Setting the base causes a default-src issue.