Open srallen opened 3 years ago
the reason why this was left running is to support the old hash fragment (in the wild) URLs. Sadly we can't do this using the static nginx proxy as the hash fragment isn’t sent to the server.
Ideally the static site rebuild could do the redirect for us traffic to the new URL for non author / data pages and show the HTML otherwise.
Taking the above into account we don't need a fancy SPA app to show some static HTML. Instead we need an index.html
page with some associated JS to detect the incoming hash fragment and redirect the URL accordingly
Here's the code we used to rewrite fragment IDs for the old Talk sites, if it's of use. https://github.com/zooniverse/Talk-archiver/blob/987572b4626217314abf45b5c1687f2ee9265e0c/src/js/index.js#L32-L40
The app is still running just for an authors page. Let's convert it to static HTML and CSS and host it on github pages so we don't have to maintain old javascript.