Skip to content
Snippets Groups Projects
Commit 4b5c7038 authored by Bernard Roland (Student Com20)'s avatar Bernard Roland (Student Com20)
Browse files

Fixed more problems with the deployment

parent 2ddc3118
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
"jest": "^26.6.3", "jest": "^26.6.3",
"nodemon": "^2.0.7", "nodemon": "^2.0.7",
"sqlite3": "^5.0.2", "sqlite3": "^5.0.2",
"tsc": "^2.0.3",
"ts-jest": "^26.5.4", "ts-jest": "^26.5.4",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"typescript": "^4.2.4" "typescript": "^4.2.4"
......
import { env } from 'process';
export default { export default {
development: { development: {
client: "sqlite3", client: "sqlite3",
...@@ -8,7 +10,7 @@ export default { ...@@ -8,7 +10,7 @@ export default {
}, },
staging: { staging: {
client: "postgresql", client: "postgresql",
connection: { connection: env.DATABASE_URL ?? {
database: "ryoko", database: "ryoko",
user: "postgres", user: "postgres",
password: "" password: ""
...@@ -23,7 +25,7 @@ export default { ...@@ -23,7 +25,7 @@ export default {
}, },
production: { production: {
client: "postgresql", client: "postgresql",
connection: { connection: env.DATABASE_URL ?? {
database: "ryoko", database: "ryoko",
user: "postgres", user: "postgres",
password: "" password: ""
......
...@@ -5183,6 +5183,11 @@ ts-node@^9.1.1: ...@@ -5183,6 +5183,11 @@ ts-node@^9.1.1:
source-map-support "^0.5.17" source-map-support "^0.5.17"
yn "3.1.1" yn "3.1.1"
tsc@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/tsc/-/tsc-2.0.3.tgz#037fe579e3bd67a5cbdaa604b43c6c1991b04bef"
integrity sha512-SN+9zBUtrpUcOpaUO7GjkEHgWtf22c7FKbKCA4e858eEM7Qz86rRDpgOU2lBIDf0fLCsEg65ms899UMUIB2+Ow==
tunnel-agent@^0.6.0: tunnel-agent@^0.6.0:
version "0.6.0" version "0.6.0"
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment