From a6f33162751c1593b9dbe08ed71d0d13199cee2f Mon Sep 17 00:00:00 2001 From: Tereshchenko Aleksandr Date: Tue, 19 Mar 2024 12:19:56 +0200 Subject: [PATCH] Try treating staging as devenv --- frontend/src/util/apiConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/util/apiConnection.js b/frontend/src/util/apiConnection.js index 9bd9fcbc..7c2b374d 100644 --- a/frontend/src/util/apiConnection.js +++ b/frontend/src/util/apiConnection.js @@ -16,7 +16,7 @@ export const getAxios = () => { }) } -const isDevEnv = process.env.NODE_ENV === 'development' +const isDevEnv = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'staging' const devDefaultOptions = { headers: {