web-server-chrome icon indicating copy to clipboard operation
web-server-chrome copied to clipboard

Feature request: baseurl parameter

Open smazanek opened this issue 5 years ago • 2 comments

Hi, I would appreciate very much a parameter in the app called baseurl, so that my website would be made available at http://127.0.0.1:8887/baseurl/could/also/be/complex/ This would be extremely useful for hosting of generated static websites. Those are often generated by a program such as hugo or docusaurus and then have that baseurl (defined in config) spread across lots of generated files in the build. All the links will not work unfortunately in that case with your app.

Kind regards Steffen

smazanek avatar Jun 03 '20 07:06 smazanek

If you want to host your static website e.g. on gitlab pages it will go into a specific path such as /pages/team/project/public, so definition of baseurl is needed for production deployment.

smazanek avatar Jun 03 '20 07:06 smazanek

Let's talk please help me understand further the complexity Vs non-perplex intertwining environments you mean. I would like to be helpful an learn from the great minds on this exchange info site

Demonrequest4u avatar Jun 04 '20 05:06 Demonrequest4u