Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset the local site root according to the sub-path of the site_url #2424

Merged
merged 2 commits into from
May 25, 2021

Conversation

oprypin
Copy link
Contributor

@oprypin oprypin commented May 25, 2021

E.g. if site_url is specified as http://example.org/sub/path/, then upon opening http://127.0.0.1:8000/ you will be redirected to http://127.0.0.1:8000/sub/path/. And the file docs/foo/index.md will be served at http://127.0.0.1:8000/sub/path/foo/

Ref #2404 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants