Closed pierre-denissen closed 1 year ago
Hi,
I have Valet installed (on Mac). When I run gulp dev my browser-sync service starts and serves https://localhost:3000. The browser gives the error: localhost redirected you too many times. ERR_TOO_MANY_REDIRECTS.
gulp dev
localhost redirected you too many times. ERR_TOO_MANY_REDIRECTS
My browser-sync.json looks like this:
[ { "proxy": "example.nl.local.xpdev.nl", "https": true, "rewriteRules": [ { "match": ".example.nl.local.xpdev.nl", "replace": "" } ] } ]
Where example.nl.local.xpdev.nl is my local domain served by Valet.
example.nl.local.xpdev.nl
I guess I'm missing something. Who can help?
Solved by adding this:
{ "proxy": "http://mylocaldomain", "https": true }
Hi,
I have Valet installed (on Mac). When I run
gulp dev
my browser-sync service starts and serves https://localhost:3000. The browser gives the error:localhost redirected you too many times. ERR_TOO_MANY_REDIRECTS
.My browser-sync.json looks like this:
Where
example.nl.local.xpdev.nl
is my local domain served by Valet.I guess I'm missing something. Who can help?