More cleanup
This commit is contained in:
parent
3158033d57
commit
9d0c41322c
|
|
@ -16,10 +16,10 @@ declare module "pinia" {
|
|||
|
||||
const appEnv = import.meta.env.VITE_APP_ENVIRONMENT || "local";
|
||||
|
||||
if (appEnv === "local") {
|
||||
log.setLevel("trace");
|
||||
} else {
|
||||
if (appEnv.startsWith("prod")) {
|
||||
log.setLevel("warn");
|
||||
} else {
|
||||
log.setLevel("trace");
|
||||
}
|
||||
|
||||
const i18n = setupI18n();
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -23,7 +23,7 @@ APP_ENVIRONMENT = env("IT_APP_ENVIRONMENT")
|
|||
DEBUG = env.bool("IT_DJANGO_DEBUG", True if APP_ENVIRONMENT == "local" else False)
|
||||
|
||||
# check that IT_DEFAULT_ADMIN_PASSWORD is set
|
||||
if not DEBUG:
|
||||
if APP_ENVIRONMENT != "local":
|
||||
# fails if not set
|
||||
env.str("IT_DEFAULT_ADMIN_PASSWORD")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue