You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose my location.href is http://localhost/foo/ and I'm loading /bundle.js which references a source map bundle.js.map using just this relative path (e.g. just the filename).
stacktrace-gps currently resolves the sourcemap URL relative to the current page (implicitly, from what I can see) and will therefore try to load http://localhost/foo/bundle.js.map. However, the URL should be resolved relative to the resource, i.e. to http://localhost/bundle.js.map.
The text was updated successfully, but these errors were encountered:
Hi,
Suppose my
location.href
ishttp://localhost/foo/
and I'm loading/bundle.js
which references a source mapbundle.js.map
using just this relative path (e.g. just the filename).stacktrace-gps currently resolves the sourcemap URL relative to the current page (implicitly, from what I can see) and will therefore try to load
http://localhost/foo/bundle.js.map
. However, the URL should be resolved relative to the resource, i.e. tohttp://localhost/bundle.js.map
.The text was updated successfully, but these errors were encountered: