Send download link on completion

This commit is contained in:
Ken-Håvard Lieng 2020-05-17 03:55:46 +02:00
parent fa99a96733
commit b92f5cfb43
6 changed files with 67 additions and 6 deletions

View file

@ -10,4 +10,8 @@ precacheAndRoute(self.__WB_MANIFEST, {
});
const handler = createHandlerBoundToURL('/');
registerRoute(new NavigationRoute(handler));
registerRoute(
new NavigationRoute(handler, {
denylist: [new RegExp('/downloads/')]
})
);