|
@ -35,8 +35,8 @@ export default { |
|
|
window.addEventListener('resize', this.onResize); |
|
|
window.addEventListener('resize', this.onResize); |
|
|
|
|
|
|
|
|
let wsHost; |
|
|
let wsHost; |
|
|
const env = process.env.NODE_ENV || 'development'; |
|
|
const env = process.env.NODE_ENV || "production"; |
|
|
if (env === "development") { |
|
|
if (env === "development" || localStorage.dev === "dev") { |
|
|
wsHost = ":3001" |
|
|
wsHost = ":3001" |
|
|
} else { |
|
|
} else { |
|
|
wsHost = "" |
|
|
wsHost = "" |
|
|