docute icon indicating copy to clipboard operation
docute copied to clipboard

Adding option `basePath`

Open egoist opened this issue 6 years ago • 1 comments

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.

egoist avatar Jun 13 '19 15:06 egoist

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

tiptronic avatar Jul 24 '19 15:07 tiptronic