kopia lustrzana https://github.com/bugout-dev/moonstream
Fix env
rodzic
7c06cf2bd6
commit
a560cc82d7
|
@ -0,0 +1,9 @@
|
||||||
|
export REACT_APP_SIMIOTICS_SEARCH_URL=http://localhost:5000
|
||||||
|
export REACT_APP_MIXPANEL_TOKEN="<YOUR MIXPANEL TOKEN HERE>"
|
||||||
|
export REACT_APP_SIMIOTICS_AUTH_URL=http://localhost:7474
|
||||||
|
export REACT_APP_SIMIOTICS_JOURNALS_URL=http://localhost:7475
|
||||||
|
export REACT_APP_BUGOUT_CONTACTUS_TOKEN="<Brood token for contact user>"
|
||||||
|
export REACT_APP_BUGOUT_CONTACTUS_JOURNAL_ID="<journal ID for contact journal>"
|
||||||
|
export REACT_APP_STRIPE_PUBLISHABLE_KEY="<stripe publishable key>"
|
||||||
|
export NEXT_PUBLIC_MOONSTREAM_API_URL=http://localhost:7481
|
||||||
|
|
|
@ -234,28 +234,5 @@ const enableMockupRequests = (axiosInstance) => {
|
||||||
offset: 0,
|
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;
|
export default enableMockupRequests;
|
||||||
|
|
Ładowanie…
Reference in New Issue