-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Snippet with HTTPS #459
Comments
No this is bug, I missed the HTTPS support for the snippet only (as it's a different server) |
Look straightforward enough, if you want a pull request to squash this one let me know. |
Sure - that would be great. You can see how it's done here with the static server. https://github.com/BrowserSync/browser-sync/blob/master/lib/server/static-server.js#L72-L79 For tests, you could add to, or copy this https://github.com/BrowserSync/browser-sync/blob/master/test/specs/e2e/e2e.snippet.js :) |
Looking over recent activity I got the impression that injecting a snippet with HTTPs should work. However with the following config and loading a site through MAMP locally with HTTPs the snippet does not load. The snippet is correctly loading from
https://domain.dev:3000/browser-sync/browser-sync-client.2.1.4.js
however it only works if requested from HTTP.Here is the server config object we're passing to the browserSync method:
Am I missing something with the settings or is this not supported currently? Thanks!
The text was updated successfully, but these errors were encountered: