diff --git a/frontend/sample.env b/frontend/sample.env new file mode 100644 index 00000000..11a611c8 --- /dev/null +++ b/frontend/sample.env @@ -0,0 +1,9 @@ +export REACT_APP_SIMIOTICS_SEARCH_URL=http://localhost:5000 +export REACT_APP_MIXPANEL_TOKEN="" +export REACT_APP_SIMIOTICS_AUTH_URL=http://localhost:7474 +export REACT_APP_SIMIOTICS_JOURNALS_URL=http://localhost:7475 +export REACT_APP_BUGOUT_CONTACTUS_TOKEN="" +export REACT_APP_BUGOUT_CONTACTUS_JOURNAL_ID="" +export REACT_APP_STRIPE_PUBLISHABLE_KEY="" +export NEXT_PUBLIC_MOONSTREAM_API_URL=http://localhost:7481 + diff --git a/frontend/src/core/utils/mockupRequests.js b/frontend/src/core/utils/mockupRequests.js index 1b8985a7..fcb6cd49 100644 --- a/frontend/src/core/utils/mockupRequests.js +++ b/frontend/src/core/utils/mockupRequests.js @@ -234,28 +234,5 @@ const enableMockupRequests = (axiosInstance) => { offset: 0, }, }); - - // mock.onGet(`${MOCK_API}/subscriptions/`).reply(200, { - // data: { - // is_free_subscription_availible: true, - // subscriptions: MockSubscriptions, - // }, - // }); - - // mock.onPost(`${MOCK_API}/subscriptions/`).reply((config) => { - // const params = config.data; // FormData of {name: ..., file: ...} - // const id = params.get("id"); - // const label = params.get("label"); - // const address = params.get("address"); - // const subscription_type = params.get("subscription_type"); - - // return new Promise(function (resolve) { - // setTimeout(function () { - // const data = { id, label, address, subscription_type }; - // MockSubscriptions.push({ ...data }); - // resolve([200, { message: "OK", result: true }]); - // }, 1000); - // }); - // }); }; export default enableMockupRequests;