diff --git a/api/npm/service-worker.js b/api/npm/service-worker.js index 11680ad954..7e21c72292 100644 --- a/api/npm/service-worker.js +++ b/api/npm/service-worker.js @@ -53,9 +53,9 @@ export async function onRequest (request, env, ctx) { origins = Array.from(new Set(origins)) if (process.env.SOCKET_RUNTIME_NPM_DEBUG) { - console.debug('resolving: npm:%s', specifier) + console.debug('resolving: npm:%s (%o)', specifier, origins) } - + while (origins.length && resolved === null) { const potentialOrigins = [] const origin = origins.shift() diff --git a/api/service-worker/index.html b/api/service-worker/index.html index 80b01585ba..828400c539 100644 --- a/api/service-worker/index.html +++ b/api/service-worker/index.html @@ -14,7 +14,6 @@ object-src 'none'; " > - Socket Runtime Service Worker Context - -
-

You are seeing this window because you are likely debugging a Service Worker

-

-    
- - +