feat: things are happening...
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
const config = {
|
||||
username: Deno.env.get("DB_USER") ?? "postgres",
|
||||
hostname: Deno.env.get("DB_HOST") ?? "localhost",
|
||||
password: Deno.env.get("DB_PW") ?? "",
|
||||
dbUsername: Deno.env.get("DB_USER") ?? "postgres",
|
||||
dbHostname: Deno.env.get("DB_HOST") ?? "localhost",
|
||||
dbPassword: Deno.env.get("DB_PASS") ?? "",
|
||||
dbPort: Number(Deno.env.get("DB_PORT") ?? 5432),
|
||||
hostname: Deno.env.get("HOST") ?? "localhost",
|
||||
port: Number(Deno.env.get("PORT") ?? 8080),
|
||||
};
|
||||
|
||||
console.log(`ENV:
|
||||
db username: ${config.username}
|
||||
db username: ${config.dbUsername}
|
||||
db hostname: ${config.dbHostname}
|
||||
db pass: ******
|
||||
db port: ${config.dbPort}
|
||||
server port: ${config.port}
|
||||
|
||||
Reference in New Issue
Block a user