blob: 7a852cb3fcf11621fe6f1940e36dddc5a020ffe1 [file] [log] [blame]
importScripts('get-host-info.sub.js');
const host_info = get_host_info();
self.onfetch = e => {
const remote_url = host_info.HTTPS_REMOTE_ORIGIN +
new URL('./', location).pathname + 'simple.txt?basic_sw';
e.respondWith(fetch(remote_url));
};