diff --git a/.DS_Store b/.DS_Store index 3f82fff..df5594b 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.env_default b/.env_default index dcf8ac3..77bf3ef 100644 --- a/.env_default +++ b/.env_default @@ -1,4 +1,5 @@ -DATABASE_URL=postgres://user:psw@localhost:5432/postgres +DATABASE_URL=postgres://user:psw@localhost:5432/ +DB=postgres SESSIONSECRET=Your Secret MAILHOST= MAILUSER= @@ -9,4 +10,4 @@ TELEBOT= TELECHAT= HOST= WEEKDAY=4 -ABTEILUNG=KiTu/ABENTEUERSPIELPLATZ/KKT \ No newline at end of file +ABTEILUNG=KiTu/ABENTEUERSPIELPLATZ/KKT diff --git a/.gitignore b/.gitignore index ae68f81..d259d4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env node_modules/ -logs/* \ No newline at end of file +.DS_Store +logs/* diff --git a/app.js b/app.js index db99451..0bb98c1 100644 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ const transporter = nodemailer.createTransport({ // Datenbankverbindung const pool = new Pool({ - connectionString: process.env.DATABASE_URL + "tkd", + connectionString: process.env.DATABASE_URL + process.env.DB, }); const poolNew = new Pool({