端口映射打开网页,优先使用域名

This commit is contained in:
aoshiguchen
2023-09-22 13:41:50 +08:00
parent e416c76ea8
commit d5abf90954
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
module.exports = {
NODE_ENV: '"development"',
ENV_CONFIG: '"dev"',
BASE_API: '"http://103.163.47.16:8888"',
BASE_API: '"https://neutrino-proxy.asgc.fun/neutrino-proxy-server"',
USER_NAME: '"visitor"',
USER_PWD: '"123456"'
}
@@ -463,7 +463,10 @@ export default {
})
},
handleOpenWebPage(row) {
const url = location.protocol + '//' + location.hostname + ':' + row.serverPort
let url = location.protocol + '//' + location.hostname + ':' + row.serverPort
if (row.domain) {
url = location.protocol + '//' + row.domain
}
open(url)
},
handleUpdate(row) {