Skip to content

Commit

Permalink
remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
dupreesi committed Aug 6, 2024
1 parent 6785c52 commit 9362d84
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
5 changes: 0 additions & 5 deletions heroku.yml

This file was deleted.

7 changes: 1 addition & 6 deletions web/database/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@ const connectionString = config.DATABASE_URL;
// eslint-disable-next-line prefer-regex-literals
const isInsertOrUpdateRegex = new RegExp(/(UPDATE(.|\n)*SET)|(INSERT INTO)/i);

// if you want to connect to heroku database you need to add:
// ssl: { rejectUnauthorized: false }
// to the below object
// eslint-disable-next-line no-underscore-dangle

if (!connectionString) {
throw new Error("Environment variable DATABASE_URL must be set");
throw new Error('Environment variable DATABASE_URL must be set');
}

const pool = new Pool({
Expand Down
16 changes: 0 additions & 16 deletions web/frontend/README.md

This file was deleted.

0 comments on commit 9362d84

Please sign in to comment.