This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 331
Toolbox rule problem #249
Comments
Hi I'm experiencing the exact same issue here. My code is as shown below:
Any ideas on why this is happening? I've tried with and without the companion script to load the service worker. I'm using the last released version 3.6.1. Thanks Jasper |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created the following rule using toolbox with a custom handler.
toolbox.router.get('/user/test', function(request) { return new Response('It works! ' + request.url); },{ origin: 'http://local.testserver:10000' });
It only works after i reload the page twice. The first time, it send the request to the network , but if i reload the page, i get the correct response from service worker
The text was updated successfully, but these errors were encountered: