nix-cache-view icon indicating copy to clipboard operation
nix-cache-view copied to clipboard

Is it better to put parameters in hash?

Open wh0 opened this issue 3 years ago • 0 comments

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

wh0 avatar Oct 02 '22 22:10 wh0