To make it clearer to the sever as well as the browser that it's all the same .html file.
Downside is we manually have to detect hashchange events to load another file.
See our current code for reading url paramters
|
const options = new URL(window.location).searchParams; |
|
const cacheBase = options.get('cache_base'); |
|
const hash = options.get('hash'); |
To make it clearer to the sever as well as the browser that it's all the same .html file.
Downside is we manually have to detect hashchange events to load another file.
See our current code for reading url paramters
nix-cache-view/nar.html
Lines 7 to 9 in 1a5bba2