We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98b3f2c commit 33ccca3Copy full SHA for 33ccca3
src/hmr/hotModuleReplacement.js
@@ -174,17 +174,12 @@ function reloadAll() {
174
function isUrlRequest(url) {
175
// An URL is not an request if
176
177
- // 1. It's an absolute url
178
- if (/^[a-z][a-z0-9+.-]*:/i.test(url)) {
179
- return false;
180
- }
181
-
182
- // 2. It's a protocol-relative
+ // 1. It's a protocol-relative
183
if (/^\/\//.test(url)) {
184
return false;
185
}
186
187
- // 3. Its a `#` link
+ // 2. Its a `#` link
188
if (/^#/.test(url)) {
189
190
0 commit comments