This commit is contained in:
parent
30e7158b7e
commit
1e6ea9d104
@ -20,7 +20,9 @@ export async function initSecrets(token: string) {
|
||||
|
||||
const infisicalClient = createInfisicalClient(token);
|
||||
const options: GetOptions = {
|
||||
environment: process.env.NODE_ENV || "development",
|
||||
environment: process.env.NODE_ENV?.startsWith("prod")
|
||||
? "prod"
|
||||
: process.env.NODE_ENV || "dev",
|
||||
path: "/",
|
||||
type: "shared",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user