pierreaubert / spinorama

A library to display and compare spinorama (speakers measurements) graphs.
GNU General Public License v3.0
112 stars 12 forks source link

Website down? #297

Closed bluecat1024 closed 1 month ago

bluecat1024 commented 1 month ago

Empty page when I click into the main page or ranking page in spinorama.org. Thanks for checking what happened.

pierreaubert commented 1 month ago

Can you empty the browser cache for the website (spinorama.org) and reload. There is a bug in the service worker that I am trying to fix. Please let me know if it works for you after that.

Pierre

On Sat, Sep 7, 2024 at 12:38 AM bluecat1024 @.***> wrote:

Empty page when I click into the main page or ranking page in spinorama.org. Thanks for checking what happened.

— Reply to this email directly, view it on GitHub https://github.com/pierreaubert/spinorama/issues/297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANBKH2NEOYQRAQPT7CU4MLZVIVGDAVCNFSM6AAAAABNZMXUEGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTCMRYGA4DSNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

PfA

pierreaubert commented 1 month ago

I raised the security of the webserver recently. This had a side effect: mjs (aka js module) were not identified as application/json. with the new security flag, the browser reject the loading of the mjs file. To make things complicated, this also crashed the service worker. I am not sure of the best way to cleanup that mess since the service worker is also cached which is a mistake.

I have added an alert that should show up if it happens again and desactivated the service worker for now. The server now return text/json for .js and .mjs files.

bluecat1024 commented 1 month ago

I can see the data after deleting this site data. Thanks.