Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Removed logging
Andrew Bastin0e561e7bc258
diff --git a/functions/network.js b/functions/network.jsindex da7e9a817..63d04db5d 100644--- a/functions/network.js+++ b/functions/network.js@@ -3,8 +3,6 @@ import FirefoxStrategy from "./strategies/FirefoxStrategy";import ChromeStrategy, { hasChromeExtensionInstalled } from "./strategies/ChromeStrategy";const isExtensionsAllowed = ({ state }) => {- console.log(typeof(state.postwoman.settings.EXTENSIONS_ENABLED) === 'undefined'- || state.postwoman.settings.EXTENSIONS_ENABLED);return typeof(state.postwoman.settings.EXTENSIONS_ENABLED) === 'undefined'|| state.postwoman.settings.EXTENSIONS_ENABLED;}@@ -19,14 +17,14 @@ const runAppropriateStrategy = (req, store) => {// The firefox plugin injects a function to send requests through it// If that is available, then we can use the FirefoxStrategyif (window.firefoxExtSendRequest) {- return FirefoxStrategy(req, store);+ return FirefoxStrategy(req, store);}}return AxiosStrategy(req, store);}-const sendNetworkRequest = (req, store) =>+const sendNetworkRequest = (req, store) =>runAppropriateStrategy(req, store).finally(() => window.$nuxt.$loading.finish());