diff --git a/frontend/src/core/utils/http.js b/frontend/src/core/utils/http.js index aa5c68f0..a4632022 100644 --- a/frontend/src/core/utils/http.js +++ b/frontend/src/core/utils/http.js @@ -1,7 +1,7 @@ import enableMockupRequests from "./mockupRequests"; let axios = require("axios"); -enableMockupRequests(axios); +process.env.NODE_ENV !== "production" && enableMockupRequests(axios); const http = (config) => { const token = localStorage.getItem("MOONSTREAM_ACCESS_TOKEN");