Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d26a4ee0
authored
Jul 09, 2024
by
vince
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: service request exceptions after deployment
1 parent
35ca5643
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
2 deletions
apps/web-antd/.env.production
apps/web-antd/dist.zip
packages/@core/forward/request/src/request-client/request-client.ts
apps/web-antd/.env.production
View file @
d26a4ee
...
...
@@ -2,4 +2,4 @@
VITE_PUBLIC_PATH = /
# Basic interface address SPA
VITE_GLOB_API_URL=/api
VITE_GLOB_API_URL=
https://mock-napi.vben.pro
/api
apps/web-antd/dist.zip
0 → 100644
View file @
d26a4ee
No preview for this file type
packages/@core/forward/request/src/request-client/request-client.ts
View file @
d26a4ee
...
...
@@ -37,7 +37,6 @@ class RequestClient {
},
// 默认超时时间
timeout
:
10
_000
,
withCredentials
:
true
,
};
const
{
makeAuthorization
,
...
axiosConfig
}
=
options
;
const
requestConfig
=
merge
(
axiosConfig
,
defaultConfig
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment