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

Adding option basePath #245

Open
egoist opened this issue Jun 13, 2019 · 1 comment
Open

Adding option basePath #245

egoist opened this issue Jun 13, 2019 · 1 comment

Comments

@egoist
Copy link
Owner

egoist commented Jun 13, 2019

basePath defines where your app is located, it defaults to / since most apps are hosted at root path, you can set it to /docs if your app is hosted at https://example.com/docs, when sourcePath is a relative path, it should also be resolved from basePath.

@tiptronic
Copy link

Would that make it possible to run the files from a relative path (e.g. file://).
So, if basePath would be something like .?

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

No branches or pull requests

2 participants