mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
Online documentation at /docs/ for authors and administrators: built into dist, nginx auth_request (check-docs), editor and admin links, Docker/server_update integration
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,8 @@ function isNarration(pathname) {
|
||||
}
|
||||
|
||||
function isAuthorTool(pathname) {
|
||||
return pathname === '/author.html' || pathname === '/css/author.css' || pathname.startsWith('/js/author/') || /^\/js\/i18n\/author\.[a-z]+\.json$/.test(pathname);
|
||||
// /docs/ : documentation en ligne, éventuellement protégée par connexion, hors application (jamais mise en cache).
|
||||
return pathname.startsWith('/docs/') || pathname === '/docs' || pathname === '/author.html' || pathname === '/css/author.css' || pathname.startsWith('/js/author/') || /^\/js\/i18n\/author\.[a-z]+\.json$/.test(pathname);
|
||||
}
|
||||
|
||||
async function fromCache(request, cacheName) {
|
||||
|
||||
Reference in New Issue
Block a user