Spaces:
Sleeping
Sleeping
Fix: Remove unused variable
Browse files
config.ts
CHANGED
|
@@ -17,7 +17,6 @@ if (VITE_PREVIEW_URL) {
|
|
| 17 |
}
|
| 18 |
|
| 19 |
// Force WSS if we are on HTTPS
|
| 20 |
-
const isSecure = window.location.protocol === 'https:'
|
| 21 |
export const SERVER_URL = origin
|
| 22 |
export const WS_URL = origin.replace(/^http/, 'ws')
|
| 23 |
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
// Force WSS if we are on HTTPS
|
|
|
|
| 20 |
export const SERVER_URL = origin
|
| 21 |
export const WS_URL = origin.replace(/^http/, 'ws')
|
| 22 |
|