mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00:00
env default to production
This commit is contained in:
parent
058032a26a
commit
77af41bfff
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ export default {
|
|||
window.addEventListener('resize', this.onResize);
|
||||
|
||||
let wsHost;
|
||||
const env = process.env.NODE_ENV || 'development';
|
||||
if (env === "development") {
|
||||
const env = process.env.NODE_ENV || "production";
|
||||
if (env === "development" || localStorage.dev === "dev") {
|
||||
wsHost = ":3001"
|
||||
} else {
|
||||
wsHost = ""
|
||||
|
|
Loading…
Reference in a new issue