|
@@ -1,18 +1,14 @@
|
|
'use strict'
|
|
'use strict'
|
|
const path = require('path')
|
|
const path = require('path')
|
|
const defaultSettings = require('./src/settings.js')
|
|
const defaultSettings = require('./src/settings.js')
|
|
-import { getConfig } from "@/utils/auth";
|
|
|
|
|
|
+
|
|
|
|
|
|
function resolve(dir) {
|
|
function resolve(dir) {
|
|
return path.join(__dirname, dir)
|
|
return path.join(__dirname, dir)
|
|
}
|
|
}
|
|
-let title = ''
|
|
|
|
-if (getConfig()) {
|
|
|
|
- let config = JSON.parse(getConfig());
|
|
|
|
- title = config.title
|
|
|
|
-}
|
|
|
|
|
|
|
|
-const name = defaultSettings.title || title // page title
|
|
|
|
|
|
+
|
|
|
|
+const name = defaultSettings.title // page title
|
|
|
|
|
|
// If your port is set to 80,
|
|
// If your port is set to 80,
|
|
// use administrator privileges to execute the command line.
|
|
// use administrator privileges to execute the command line.
|