Browse Source

Dev

pull/937/head
Sergei Birukov 2 years ago
parent
commit
c19f73f77f
  1. 3
      src/.env
  2. 3
      src/.eslintrc.json
  3. 1
      src/config.js

3
src/.env

@ -0,0 +1,3 @@
WG_HOST=127.0.0.1
UI_TRAFFIC_STATS=true
UI_CHART_TYPE=2

3
src/.eslintrc.json

@ -6,6 +6,7 @@
"rules": { "rules": {
"consistent-return": "off", "consistent-return": "off",
"no-shadow": "off", "no-shadow": "off",
"max-len": "off" "max-len": "off",
"linebreak-style": "off"
} }
} }

1
src/config.js

@ -1,7 +1,6 @@
'use strict'; 'use strict';
const { release } = require('./package.json'); const { release } = require('./package.json');
require('dotenv').config();
module.exports.RELEASE = release; module.exports.RELEASE = release;
module.exports.PORT = process.env.PORT || '51821'; module.exports.PORT = process.env.PORT || '51821';

Loading…
Cancel
Save