biofriction-wp-theme/node_modules/browser-sync/templates/connector.tmpl

8 lines
326 B
Cheetah
Raw Normal View History

2021-10-26 14:18:09 +02:00
window.___browserSync___ = {};
___browserSync___.socketConfig = %config%;
___browserSync___.socketUrl = %url%;
___browserSync___.options = %options%;
if (location.protocol == "https:" && /^http:/.test(___browserSync___.socketUrl)) {
___browserSync___.socketUrl = ___browserSync___.socketUrl.replace(/^http:/, "https:");
}