File tree Expand file tree Collapse file tree 10 files changed +4
-20
lines changed
src/views/mp/components/wx-reply/components Expand file tree Collapse file tree 10 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ VITE_UPLOAD_TYPE=server
12
12
# 上传路径
13
13
VITE_UPLOAD_URL = ' http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'
14
14
15
- # 接口前缀
16
- VITE_API_BASEPATH = /dev-api
17
-
18
15
# 接口地址
19
16
VITE_API_URL = /admin-api
20
17
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server
11
11
# 上传路径
12
12
VITE_UPLOAD_URL = ' http://localhost:48080/admin-api/infra/file/upload'
13
13
14
- # 接口前缀
15
- VITE_API_BASEPATH = /dev-api
16
-
17
14
# 接口地址
18
15
VITE_API_URL = /admin-api
19
16
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server
11
11
# 上传路径
12
12
VITE_UPLOAD_URL = ' http://localhost:48080/admin-api/infra/file/upload'
13
13
14
- # 接口前缀
15
- VITE_API_BASEPATH =
16
-
17
14
# 接口地址
18
15
VITE_API_URL = /admin-api
19
16
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server
11
11
# 上传路径
12
12
VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'
13
13
14
- # 接口前缀
15
- VITE_API_BASEPATH=
16
-
17
14
# 接口地址
18
15
VITE_API_URL=/admin-api
19
16
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server
11
11
# 上传路径
12
12
VITE_UPLOAD_URL = ' http://localhost:48080/admin-api/infra/file/upload'
13
13
14
- # 接口前缀
15
- VITE_API_BASEPATH =
16
-
17
14
# 接口地址
18
15
VITE_API_URL = /admin-api
19
16
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ import { getAccessToken } from '@/utils/auth'
63
63
import { Reply } from ' ./types'
64
64
const message = useMessage ()
65
65
66
- const UPLOAD_URL = import .meta .env .VITE_API_BASEPATH + ' /admin-api/mp/material/upload-temporary'
66
+ const UPLOAD_URL = import .meta .env .VITE_BASE_URL + ' /admin-api/mp/material/upload-temporary'
67
67
const HEADERS = { Authorization: ' Bearer ' + getAccessToken () } // 设置上传的请求头部
68
68
69
69
const props = defineProps <{
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ import { Reply } from './types'
67
67
68
68
const message = useMessage ()
69
69
70
- const UPLOAD_URL = import .meta .env .VITE_API_BASEPATH + ' /admin-api/mp/material/upload-temporary'
70
+ const UPLOAD_URL = import .meta .env .VITE_BASE_URL + ' /admin-api/mp/material/upload-temporary'
71
71
const HEADERS = { Authorization: ' Bearer ' + getAccessToken () } // 设置上传的请求头部
72
72
73
73
const props = defineProps <{
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ import { Reply } from './types'
58
58
59
59
const message = useMessage ()
60
60
61
- const UPLOAD_URL = import .meta .env .VITE_API_BASEPATH + ' /admin-api/mp/material/upload-temporary'
61
+ const UPLOAD_URL = import .meta .env .VITE_BASE_URL + ' /admin-api/mp/material/upload-temporary'
62
62
const HEADERS = { Authorization: ' Bearer ' + getAccessToken () }
63
63
64
64
const props = defineProps <{
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ import { getAccessToken } from '@/utils/auth'
61
61
import { Reply } from ' ./types'
62
62
const message = useMessage ()
63
63
64
- const UPLOAD_URL = import .meta .env .VITE_API_BASEPATH + ' /admin-api/mp/material/upload-temporary'
64
+ const UPLOAD_URL = import .meta .env .VITE_BASE_URL + ' /admin-api/mp/material/upload-temporary'
65
65
const HEADERS = { Authorization: ' Bearer ' + getAccessToken () } // 设置上传的请求头部
66
66
67
67
const props = defineProps <{
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ interface ImportMetaEnv {
17
17
readonly VITE_APP_DOCALERT_ENABLE : string
18
18
readonly VITE_BASE_URL : string
19
19
readonly VITE_UPLOAD_URL : string
20
- readonly VITE_API_BASEPATH : string
21
20
readonly VITE_API_URL : string
22
21
readonly VITE_BASE_PATH : string
23
22
readonly VITE_DROP_DEBUGGER : string
You can’t perform that action at this time.
0 commit comments