From: xangelo Date: Thu, 1 Jun 2023 15:08:15 +0000 (-0400) Subject: prep for dev release X-Git-Tag: v0.0.1~94 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=c092d110af9effe06a04a7db628ff41ab2205494;p=risinglegends.git prep for dev release --- 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