fiji / fiji.github.io

Fiji website
https://fiji.sc
35 stars 11 forks source link

plugins.json is auto-redirecting to imagej.net #4

Closed mattxwang closed 5 years ago

mattxwang commented 5 years ago

Hey @ctrueden ,

I was just taking a look at the website and noticed that the plugins card view is broken. Specifically, the HTTP request to plugins.json is being redirected to imagej.net, which is really strange. Is the web server configured to redirect requests to the top-level of the app to ImageJ? If needed, I can move plugins.json to the site/ folder.

ctrueden commented 5 years ago

Thanks for noticing! With cf84d4cb830f26c3f6bd101b74ccd318db2ea0d5 I moved it into site. The broad redirect rule to imagej.net is for historical reasons, and I'd rather not mess with that side of things unless truly necessary.

There still seems to be something weird, though: curl https://fiji.sc/site/plugins.json works as expected, but accessing that URL from my browsers yields 404 from GitHub. I'll keep digging.

mattxwang commented 5 years ago

Hm, that's strange. For me, accessing https://fiji.sc/site/plugins.json works properly (with no 404) - have you hard-refreshed the page and deleted the cache if needed?

ctrueden commented 5 years ago

The stale plugins.json problem magically resolved itself after a while! Probably browser cache, yeah (although I tested with several browsers). ¯\_(ツ)_/¯

I also added all the remaining plugins from the forum thread. All seems to be working well now! :+1: