diff --git a/src/common/fetcher.ts b/src/common/fetcher.ts index 42cf0a7..3e0e734 100644 --- a/src/common/fetcher.ts +++ b/src/common/fetcher.ts @@ -1,8 +1,8 @@ import { logServerError } from "./errors" -const back2BaseUrl = process.env.BACK_2__BASE_URL || "http://localhost:5000" +const back2BaseUrl = process.env.back_2__base_url || "http://localhost:5000" const back2BasePath = "/internal/storage-service/v2" -const back2ApiKey = process.env.BACK_2__API_KEY || "local" +const back2ApiKey = process.env.back_2__api_key || "local" export async function fetchStorage(path: string, init?: RequestInit): Promise { try { diff --git a/src/index.ts b/src/index.ts index c7b1336..230ac61 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ const server = Server.configure({ extensions: [ new Logger( { - onChange: process.env.ENABLE_CHANGE_LOGS === "true", + onChange: process.env.enable_change_logs === "true", } ), new Database({