autometrics-dev / am

Autometrics Companion CLI app
Apache License 2.0
16 stars 2 forks source link

Notifications not working for explorer #142

Closed flenter closed 1 year ago

flenter commented 1 year ago

This isn't working because the service worker that we rely on doesn't get loaded when explorer is loaded through localhost.

Right now if you do that the javascript/css is loaded from the CDN (explorer.autometrics.dev) however service workers need to be hosted on the same domain is the site. So a solution for this is to proxy the static assets through am. That way we can update explorer separate from the am tool.

Another thing we could do is make the upstream url configurable so that we could test a local version of explorer in combination with am.