static-browser-server
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "static-browser-server", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "./out/lib/main.js", | ||
@@ -5,0 +5,0 @@ "types": "./src/lib/main.ts", |
@@ -174,3 +174,6 @@ /* eslint-disable no-restricted-globals */ | ||
if (parsedUrl.pathname.startsWith("/__csb")) { | ||
if ( | ||
parsedUrl.origin !== self.location.origin || | ||
parsedUrl.pathname.startsWith("/__csb") | ||
) { | ||
return; | ||
@@ -177,0 +180,0 @@ } |
Sorry, the diff of this file is not supported yet
285014
10262