blob: ce596044bd15a3df160dc1153a59d20675317c11 [file] [log] [blame]
importScripts('/common/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));
};