Introduced /content endpoint

Book content is now served under /content/book/...

The old access to book content via a top-level URL /book/... is so far
preserved for backward compatibility.

Redirects were changed to use the new URL scheme. Links in the search results
still use the old scheme.
This commit is contained in:
Veloman Yunkan
2022-06-25 17:54:21 +04:00
parent a4b18893aa
commit 1b1c1e352e
3 changed files with 104 additions and 14 deletions

View File

@ -2,4 +2,5 @@
/ text/html ./test/welcome.html
/skin/index.css application/json ./test/helloworld.txt
/zimfile/A/Ray_Charles ray/charles ./test/welcome.html
/content/zimfile/A/Ray_Charles charles/ray ./test/welcome.html
/search text/html ./test/helloworld.txt