From c092d110af9effe06a04a7db628ff41ab2205494 Mon Sep 17 00:00:00 2001 From: xangelo Date: Thu, 1 Jun 2023 11:08:15 -0400 Subject: [PATCH] prep for dev release --- knexfile.ts | 16 ++++++++-------- public/assets/css/game.css | 1 + public/index.html | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/knexfile.ts b/knexfile.ts index 83815b9..8a898f8 100644 --- a/knexfile.ts +++ b/knexfile.ts @@ -1,14 +1,14 @@ +import { config as dotenv } from 'dotenv'; import type { Knex } from "knex"; -// Update with your config settings. - +dotenv(); const config: { [key: string]: Knex.Config } = { development: { client: "pg", connection: { - database: "tiny_kingdom", - user: "postgres", - password: "root" + database: process.env.PG_DATABASE, + user: process.env.PG_USER, + password: process.env.PG_PASSWORD }, pool: { min: 2, @@ -22,9 +22,9 @@ const config: { [key: string]: Knex.Config } = { production: { client: "pg", connection: { - database: "my_db", - user: "username", - password: "password" + database: process.env.PG_DATABASE, + user: process.env.PG_USER, + password: process.env.PG_PASSWORD }, pool: { min: 2, diff --git a/public/assets/css/game.css b/public/assets/css/game.css index 6cdde60..24e70bb 100644 --- a/public/assets/css/game.css +++ b/public/assets/css/game.css @@ -49,6 +49,7 @@ section { } #stat-summary { display: flex; + align-items: center; } #player-section { display: flex; diff --git a/public/index.html b/public/index.html index 2be1b43..59e1f87 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,7 @@ - Tiny Kingdom + Rising Legends -- 2.25.1