mirror of https://github.com/halo-dev/halo-admin
Add timeout for theme fetching
parent
9333a6942c
commit
236ccb7868
|
@ -89,6 +89,7 @@ themeApi.upload = (formData, uploadProgress, cancelToken) => {
|
|||
themeApi.fetching = url => {
|
||||
return service({
|
||||
url: `${baseUrl}/fetching`,
|
||||
timeout: 60,
|
||||
params: {
|
||||
uri: url
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue