WIP(shops): safer debug mode

This commit is contained in:
Sabe Jones
2024-05-21 09:11:18 -05:00
parent 36b589e92d
commit c0d6338eba
16 changed files with 118 additions and 90 deletions

View File

@@ -36,7 +36,7 @@ setUpLogging();
setupAnalytics(); // just create queues for analytics, no scripts loaded at this time
const store = getStore();
if (process.env.ENABLE_TIME_TRAVEL) {
if (process.env.TIME_TRAVEL_ENABLED) {
(async () => {
const sinon = await import('sinon');
if (axios.defaults.headers.common['x-api-user']) {