prep for dev release
authorxangelo <git@xangelo.ca>
Thu, 1 Jun 2023 15:08:15 +0000 (11:08 -0400)
committerxangelo <git@xangelo.ca>
Thu, 1 Jun 2023 15:08:15 +0000 (11:08 -0400)
knexfile.ts
public/assets/css/game.css
public/index.html

index 83815b9f92dbf15a10a5e9469678002ca48709cb..8a898f88b092da809527dc75e678190637620362 100644 (file)
@@ -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,
index 6cdde606f297bbea3ef6cc4f6ee6e690815af5e0..24e70bb2ff740335f4905af8136a944632af4345 100644 (file)
@@ -49,6 +49,7 @@ section {
 }
 #stat-summary {
   display: flex;
+  align-items: center;
 }
 #player-section {
   display: flex;
index 2be1b43177a6e4255f3d4ce9106bf15f2f223006..59e1f87ab0ec5079763d41586f7d0d05ed90e9af 100644 (file)
@@ -1,7 +1,7 @@
 <!doctype html>
 <html>
   <head>
-    <title>Tiny Kingdom</title>
+    <title>Rising Legends</title>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <link rel="stylesheet" href="/assets/css/reset.css">