issues
search
evan-buss
/
openbooks
Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.79k
stars
59
forks
source link
Allow hosting OpenBooks server at a subpath.
#34
Closed
evan-buss
closed
2 years ago
evan-buss
commented
2 years ago
The base path is set via environment variable or CLI argument
Update the GitHub and DockerHub readme files to explain its usage.
Removed the
AddPrefix()
function in favor of the built-in
fs.Sub()
which I didn't know about before.
How it works:
The API routes are adjusted to the base path the user chooses.
The web socket connection logic is updated to use the path the React SPA is being hosted at.
See #26
AddPrefix()
function in favor of the built-infs.Sub()
which I didn't know about before.How it works:
See #26