diff --git a/src/.env b/src/.env new file mode 100644 index 00000000..122fe628 --- /dev/null +++ b/src/.env @@ -0,0 +1,3 @@ +WG_HOST=127.0.0.1 +UI_TRAFFIC_STATS=true +UI_CHART_TYPE=2 \ No newline at end of file diff --git a/src/.eslintrc.json b/src/.eslintrc.json index 71881365..c04977dc 100644 --- a/src/.eslintrc.json +++ b/src/.eslintrc.json @@ -6,6 +6,7 @@ "rules": { "consistent-return": "off", "no-shadow": "off", - "max-len": "off" + "max-len": "off", + "linebreak-style": "off" } } diff --git a/src/config.js b/src/config.js index d058ad7d..40b70ddf 100644 --- a/src/config.js +++ b/src/config.js @@ -1,7 +1,6 @@ 'use strict'; const { release } = require('./package.json'); -require('dotenv').config(); module.exports.RELEASE = release; module.exports.PORT = process.env.PORT || '51821';