Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit d108131

Browse files
Aero but it has errors
1 parent b2ae593 commit d108131

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

public/aero-sw.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import handle from './aero/handle.js';
2+
import './aero/init.js';
3+
4+
addEventListener('fetch', (event) => {
5+
if (event.request.url.startsWith(location.origin + '/go/'))
6+
event.respondWith(handle(event));
7+
});

0 commit comments

Comments
 (0)