mirror of https://github.com/sundowndev/http.git
fix(plugin): debug option broken (#117)
parent
b54e965f4b
commit
6bc12959a5
|
@ -131,7 +131,7 @@ const createHttpInstance = options => {
|
||||||
const http = new HTTP(options)
|
const http = new HTTP(options)
|
||||||
|
|
||||||
// Setup interceptors
|
// Setup interceptors
|
||||||
<% if (options.debug) { %>setupDebugInterceptor(axios) <% } %>
|
<% if (options.debug) { %>setupDebugInterceptor(http) <% } %>
|
||||||
|
|
||||||
return http
|
return http
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue