|
@@ -40,7 +40,6 @@ function requestInterceptor(url, options) {
|
40
|
40
|
}
|
41
|
41
|
|
42
|
42
|
async function responseInterceptor(response, ctx) {
|
43
|
|
- console.log('-----response--------->', response, ctx);
|
44
|
43
|
const contextType = response.headers.get('content-type');
|
45
|
44
|
if (contextType.indexOf('json') > -1) {
|
46
|
45
|
const result = await response.clone().json();
|