File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1+ export const IS_DEBUG_ENV = import . meta. env . MODE === "development"
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import * as Common from "@frontend/common";
1212import * as Shop from "@frontend/shop" ;
1313
1414import { App } from "./App.tsx" ;
15+ import { IS_DEBUG_ENV } from './consts/index.ts' ;
1516import { globalStyles , muiTheme } from "./styles/globalStyles.ts" ;
1617
1718const queryClient = new QueryClient ( {
@@ -35,7 +36,7 @@ const queryClient = new QueryClient({
3536} ) ;
3637
3738const CommonOptions : Common . Contexts . ContextOptions = {
38- debug : import . meta . env . MODE === "development" ,
39+ debug : IS_DEBUG_ENV ,
3940 baseUrl : '.' ,
4041 backendApiDomain : import . meta. env . VITE_PYCONKR_BACKEND_API_DOMAIN ,
4142 backendApiTimeout : 10000 ,
You can’t perform that action at this time.
0 commit comments