POW broken
After performing a few requests, the POW does show up. However, it cannot be solved by google-chrome-stable 121.0.6167.184-1:
On Firefox 115.8.0esr-1~deb11u1, the first solve works (nice animation!) . After performing some more requests, I'm seeing the POW again, but something is broken:
Currently berghain only works when connecting via HTTPS, as these browser APIs are not available without a encrypted connection
I made a branch which should fix this by adding a fallback to a js implementation of sha256 but at the cost of filesize:
Without sha.js:
dist/index.html 6.48 kB │ gzip: 2.86 kB
With sha.js
dist/index.html 19.80 kB │ gzip: 7.68 kB
I could add both to the routing and return them conditionally, so that a HTTPS response always gets the smaller file and HTTP gets the bigger file. Don't know if that worth the effort as you have to increase the buffer-size to >20kb to fit the new file
Fixed by #14