We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffbb29 commit 84eb32eCopy full SHA for 84eb32e
src/main/loader-async.ts
@@ -63,7 +63,10 @@ function isHttpSpecifier(specifier: string) {
63
}
64
65
function isLocalhost(specifier: string) {
66
- return specifier.startsWith('http://localhost') || specifier.startsWith('http://127.0.0.1');
+ return specifier.startsWith('http://localhost:') ||
67
+ specifier.startsWith('http://localhost/') ||
68
+ specifier.startsWith('http://127.0.0.1:') ||
69
+ specifier.startsWith('http://127.0.0.1/');
70
71
72
function isRelativeImport(specifier: string) {
0 commit comments