From 4f20f928078290f71c8572d15867af88b39ec837 Mon Sep 17 00:00:00 2001 From: johnniang Date: Thu, 30 May 2019 23:08:21 +0800 Subject: [PATCH] Add timeout for theme fetching --- src/api/theme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/theme.js b/src/api/theme.js index d97b67158..ff1944544 100644 --- a/src/api/theme.js +++ b/src/api/theme.js @@ -89,6 +89,7 @@ themeApi.upload = (formData, uploadProgress, cancelToken) => { themeApi.fetching = url => { return service({ url: `${baseUrl}/fetching`, + timeout: 60, params: { uri: url },