IJMacD / newsmap-js

NewsMap JS - JS implementation of the defunct newsmap.jp
http://newsmap.ijmacd.com/
101 stars 37 forks source link

Heroku App not working #42

Closed seedrickMCWW closed 1 year ago

seedrickMCWW commented 2 years ago

Console is saying some stuff about cross-origin and not being able to reach analytics.js. Haven't had time to dig/troubleshoot much but it seems this is happening from any browser/internet connection.

IJMacD commented 2 years ago

Hey thanks for raising this issue. I'm currently in the process of moving infrastructure due to Heroku discontinuing their free tier.

Previously:

https://newsmap.ijmacd.com -> https://newsmap-js.herokuapp.com

New:

https://newsmap.ijmacd.com -> https://newsmap-js.azurewebsites.net

Unfortunately it seems the switch didn't go smoothly because of service workers still serving the old site in browsers rather than redirecting to the new infrastructure.

I'll try to push a change that disables the service worker which will hopefully catch most users before the free tier disappears completely.

In the meantime, a hard refresh (Ctrl-Shift-R) in your browser should redirect you correctly.

seedrickMCWW commented 2 years ago

Redirect works! But now there's a CORS issue, just an FYI.

IJMacD commented 2 years ago

Thanks again for reporting!

As you can see I've been having some teething troubles.

The new backend went down because I'd hit the quotas already. It should be back up for now but I'll monitor in the meantime.

Thanks, Iain

On Tue, 27 Sept 2022 at 21:46, Cedrick Fadiga @.***> wrote:

Redirect works! But now there's a CORS issue, just an FYI.

— Reply to this email directly, view it on GitHub https://github.com/IJMacD/newsmap-js/issues/42#issuecomment-1259535699, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNUM4Q7V34MDARR76ACC3WAL3EVANCNFSM6AAAAAAQV62YVQ . You are receiving this because you commented.Message ID: @.***>

seedrickMCWW commented 2 years ago

Thanks!

z-x-x136 commented 1 year ago

I landed https://newsmap-js.azurewebsites.net ,There's no news right now.

IJMacD commented 1 year ago

Works correctly if you use the canonical URL: https://newsmap.ijmacd.com

It worked before and after the migration to the new cloud provider.

(Let me know if it doesn't)