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.
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.