fix(proxy): tolerate leading double-slash paths (Apache [P] proxy)
A reverse proxy using 'RewriteRule(.*)$ http://localhost:3000/$1' sends for the root and path for sub-paths (the captured $1 keeps its leading slash), which matched no Express route
→ the whole site 404'd behind such a proxy. Collapse leading duplicate slashes early so Klonkt
is resilient to that common Apache .htaccess setup.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.