mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
[devtools] Don't allow sourcemap URLs to redirect
This commit is contained in:
parent
c9d9616334
commit
47bcca168c
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,8 @@ async function _resolveAndFetch(generatedSource) : SourceMapConsumer {
|
|||
// Fetch the sourcemap over the network and create it.
|
||||
const sourceMapURL = _resolveSourceMapURL(generatedSource);
|
||||
const fetched = await fetch(
|
||||
sourceMapURL, { loadFromCache: false }
|
||||
sourceMapURL, { loadFromCache: false,
|
||||
redirect: error }
|
||||
);
|
||||
|
||||
// Create the source map and fix it up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue