rename Web_Xxx to Base_Xxx
This commit is contained in:
parent
c4728babfb
commit
2a7d106b88
12
usertool.js
12
usertool.js
@ -126,16 +126,16 @@ export default {
|
||||
let protocol, hostname, port
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
protocol = envi.Server_Protocol || 'https'
|
||||
hostname = envi.Server_Hostname
|
||||
port = envi.Server_Port
|
||||
protocol = envi.Base_Protocol || 'https'
|
||||
hostname = envi.Base_Hostname
|
||||
port = envi.Base_Port
|
||||
}else{
|
||||
protocol = envi.Server_Protocol_Dev || 'http'
|
||||
hostname = envi.Server_Hostname_Dev
|
||||
protocol = envi.Base_Protocol_Dev || 'http'
|
||||
hostname = envi.Base_Hostname_Dev
|
||||
// #ifdef H5
|
||||
|| window.location.hostname
|
||||
// #endif
|
||||
port = envi.Server_Port_Dev || envi.Server_Port
|
||||
port = envi.Base_Port_Dev || envi.Base_Port
|
||||
// #ifdef H5
|
||||
|| window.location.port.replace(':','')
|
||||
// #endif
|
||||
|
Loading…
Reference in New Issue
Block a user