app上路径直接写死

This commit is contained in:
539943419 committed 2024-07-29 15:06:07 +08:00
1 parent 4b9599ef8a
commit ad8260b87e
1 file changed
+4 -3
+4 -3
View File
@@ -33,10 +33,11 @@ if (activeKeyMap == null) {
const serverPort =
process.env.NODE_ENV === 'development' ? config.PORT : location.port
const baseUrl =
location.protocol + '//' + location.hostname + ':' + serverPort + '/'
const baseUrl = 'http://110.238.117.95:17057/'
// location.protocol + '//' + location.hostname + ':' + serverPort + '/'
const wsBaseUrl = 'ws' + '://' + location.hostname + ':' + serverPort
// const wsBaseUrl = 'ws' + '://' + location.hostname + ':' + serverPort
const wsBaseUrl = 'ws://110.238.117.95:17057/'
// console.log(process.env.NODE_ENV,config.DEVPORT,location.port,serverPort)
export const useSettingStore = defineStore('setting', {