newsmap-js icon indicating copy to clipboard operation
newsmap-js copied to clipboard

Heroku App not working

Open seedrickMCWW opened this issue 1 year ago • 4 comments

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.

seedrickMCWW avatar Sep 26 '22 16:09 seedrickMCWW

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.

IJMacD avatar Sep 27 '22 01:09 IJMacD

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

seedrickMCWW avatar Sep 27 '22 13:09 seedrickMCWW

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: @.***>

IJMacD avatar Sep 27 '22 13:09 IJMacD

Thanks!

seedrickMCWW avatar Sep 27 '22 13:09 seedrickMCWW