chore: replace dotenv-mono with dotenv and try to fix env variables (#1261)

This commit is contained in:
Ralph Khreish
2025-10-02 11:52:25 +02:00
committed by GitHub
parent 2ea4bb6a81
commit 604b94baa9
7 changed files with 7 additions and 61 deletions

View File

@@ -36,7 +36,6 @@
"devDependencies": {
"@types/node": "^22.10.5",
"@vitest/coverage-v8": "^3.2.4",
"dotenv-mono": "^1.5.1",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},

View File

@@ -82,7 +82,7 @@ export class StorageFactory {
apiAccessToken: credentials.token,
apiEndpoint:
config.storage?.apiEndpoint ||
process.env.HAMSTER_API_URL ||
process.env.TM_PUBLIC_BASE_DOMAIN ||
'https://tryhamster.com/api'
};
config.storage = nextStorage;
@@ -112,7 +112,7 @@ export class StorageFactory {
apiAccessToken: credentials.token,
apiEndpoint:
config.storage?.apiEndpoint ||
process.env.HAMSTER_API_URL ||
process.env.TM_PUBLIC_BASE_DOMAIN ||
'https://tryhamster.com/api'
};
config.storage = nextStorage;