mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 20:52:43 +00:00
debug env
This commit is contained in:
@@ -1 +1,2 @@
|
||||
ZITADEL_API_URL=http://localhost:22222
|
||||
ZITADEL_API_URL=http://localhost:22222
|
||||
DEBUG=true
|
||||
@@ -2,7 +2,7 @@ import { redirect } from "next/navigation";
|
||||
|
||||
export default function Page() {
|
||||
// automatically redirect to loginname
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
if (!process.env.DEBUG) {
|
||||
redirect("/loginname");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"ui": "tui",
|
||||
"globalDependencies": [
|
||||
"**/.env.*local"
|
||||
],
|
||||
"globalDependencies": ["**/.env.*local"],
|
||||
"globalEnv": [
|
||||
"DEBUG",
|
||||
"ZITADEL_API_URL",
|
||||
|
||||
Reference in New Issue
Block a user