Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix: set url to module default after disabling
Browse files Browse the repository at this point in the history
Co-authored-by: nexpid <60316309+nexpid@users.noreply.github.com>
  • Loading branch information
Palm and nexpid committed Mar 17, 2024
1 parent 78495ea commit 3f65044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function setDevelopmentBuildEnabled(enabled: boolean) {
} else {
const previousConfig = loaderConfig.__previousCustomLoadUrlConfig
if (previousConfig) loaderConfig.customLoadUrl = previousConfig;
else loaderConfig.customLoadUrl = { enabled: false, url: "" };
else loaderConfig.customLoadUrl = { enabled: false, url: "http://localhost:4040/revenge.js" };
loaderConfig.__previousCustomLoadUrlConfig = undefined
}

Expand Down

0 comments on commit 3f65044

Please sign in to comment.