Open wh0 opened 1 year ago
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 https://github.com/wh0/nix-cache-view/blob/1a5bba2d55272506ff2f7c6af27cf0bf92d79474/nar.html#L7-L9
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 https://github.com/wh0/nix-cache-view/blob/1a5bba2d55272506ff2f7c6af27cf0bf92d79474/nar.html#L7-L9