johnpapa / johnpapa/lite-server

How can I define the path in the browser?

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
262
PR merge metrics
No merged PRs in 30d

Description

I would like to load the browser with a defined path - currently it always starts with http://localhost:3000/, but I would like to start it with http://localhost:3000/subfolder/
I can easily set the root path of the server. But my app structure requires that the root path is different from the path to my index.html. I would like to set my root path to './' but the browser should open /app/index.html.

Thanks,
Geri

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.