add: missing dependency in backend
This commit is contained in:
parent
44e13724fc
commit
3abd6666c0
1
bun.lock
1
bun.lock
@ -10,6 +10,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@koshnic/ratelimit": "^1.0.3",
|
"@koshnic/ratelimit": "^1.0.3",
|
||||||
"@rabbit-company/argon2id": "^2.1.0",
|
"@rabbit-company/argon2id": "^2.1.0",
|
||||||
|
"chalk": "^5.4.1",
|
||||||
"hono": "^4.7.8",
|
"hono": "^4.7.8",
|
||||||
"hono-rate-limiter": "^0.4.2",
|
"hono-rate-limiter": "^0.4.2",
|
||||||
"ioredis": "^5.6.1",
|
"ioredis": "^5.6.1",
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@koshnic/ratelimit": "^1.0.3",
|
"@koshnic/ratelimit": "^1.0.3",
|
||||||
"@rabbit-company/argon2id": "^2.1.0",
|
"@rabbit-company/argon2id": "^2.1.0",
|
||||||
|
"chalk": "^5.4.1",
|
||||||
"hono": "^4.7.8",
|
"hono": "^4.7.8",
|
||||||
"hono-rate-limiter": "^0.4.2",
|
"hono-rate-limiter": "^0.4.2",
|
||||||
"ioredis": "^5.6.1",
|
"ioredis": "^5.6.1",
|
||||||
|
@ -10,8 +10,6 @@ if (unsetVars.length > 0) {
|
|||||||
throw new Error(`Missing required environment variables: ${unsetVars.join(", ")}`);
|
throw new Error(`Missing required environment variables: ${unsetVars.join(", ")}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(process.env);
|
|
||||||
|
|
||||||
const databaseHost = getEnvVar("DB_HOST")!;
|
const databaseHost = getEnvVar("DB_HOST")!;
|
||||||
const databaseName = getEnvVar("DB_NAME");
|
const databaseName = getEnvVar("DB_NAME");
|
||||||
const databaseNameCred = getEnvVar("DB_NAME_CRED")!;
|
const databaseNameCred = getEnvVar("DB_NAME_CRED")!;
|
||||||
|
Loading…
Reference in New Issue
Block a user