diff --git a/config/index.js b/config/index.js index 02daef9..0deddbd 100644 --- a/config/index.js +++ b/config/index.js @@ -13,14 +13,14 @@ module.exports = { proxyTable: {}, // Various Dev Server settings - host: '192.168.0.12', // can be overwritten by process.env.HOST + host: '192.168.0.106', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, errorOverlay: true, notifyOnErrors: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- - + /** * Source Maps */ diff --git a/package-lock.json b/package-lock.json index f18280b..e86277c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -282,6 +282,14 @@ "postcss-value-parser": "^3.2.3" } }, + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.21.1.tgz", + "integrity": "sha1-IlY0gZYvTWvemnbVFu8OXTwJsrg=", + "requires": { + "follow-redirects": "^1.10.0" + } + }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz", @@ -4092,8 +4100,7 @@ "follow-redirects": { "version": "1.13.3", "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.13.3.tgz", - "integrity": "sha1-5VmK1QF0wbxOhyMB6CrCzZf5Amc=", - "dev": true + "integrity": "sha1-5VmK1QF0wbxOhyMB6CrCzZf5Amc=" }, "for-in": { "version": "1.0.2", diff --git a/package.json b/package.json index 079f053..fb8ab1d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "node build/build.js" }, "dependencies": { + "axios": "^0.21.1", "stylus": "^0.54.8", "stylus-loader": "^3.0.2", "vue": "^2.5.2", diff --git a/src/assets/components/Footer.vue b/src/assets/components/Footer.vue index e622166..50ff038 100644 --- a/src/assets/components/Footer.vue +++ b/src/assets/components/Footer.vue @@ -3,11 +3,11 @@