ShiftSync/web/public/hmr-runtime-inject.js
2025-06-12 09:57:08 -04:00

5 lines
No EOL
194 B
JavaScript

window.__vite_plugin_hmrOptions = {
protocol: location.protocol === 'https:' ? 'wss' : 'ws',
host: location.hostname,
port: location.port || (location.protocol === 'https:' ? 443 : 80),
};