Merge branch 'master' into dev

This commit is contained in:
suxiaoxin 2018-01-12 20:07:18 +08:00
commit 9ff8097dae
15 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ exports.randStr = () => {
exports.getIp = (ctx) => {
let ip;
try {
ip = ctx.ip.match(/\d+.\d+.\d+.\d+/)[0];
ip = ctx.ip.match(/\d+.\d+.\d+.\d+/) ? ctx.ip.match(/\d+.\d+.\d+.\d+/)[0] : 'localhost';
} catch (e) {
ip = null;
}

View File

@ -1 +1 @@
window.WEBPACK_ASSETS = {"index.js":{"js":"index@784b94e9094428f5637e.js","css":"index@784b94e9094428f5637e.css"},"lib":{"js":"lib@8944c3e5df6f7a53e2a6.js"},"lib2":{"js":"lib2@f60b8bd0c5cee11ac9fd.js"},"manifest":{"js":"manifest@b67af9f8b578904e66c5.js"}}
window.WEBPACK_ASSETS = {"index.js":{"js":"index@e84f8a281e6d0a0c90d1.js","css":"index@e84f8a281e6d0a0c90d1.css"},"lib":{"js":"lib@decab4d9f880a3c20aa0.js"},"lib2":{"js":"lib2@2069f50880083ab20bf6.js"},"manifest":{"js":"manifest@b67af9f8b578904e66c5.js"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.