Skip to content

Commit cc94751

Browse files
committed
fix: winston logging fix
1 parent e206d92 commit cc94751

File tree

8 files changed

+346
-95
lines changed

8 files changed

+346
-95
lines changed

ecosystem.config.cjs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@ module.exports = {
66
cwd: "/home/zk/projects/CodePatchwork",
77
env: {
88
NODE_ENV: "production",
9-
PORT: 3001 // Add this line
9+
PORT: 3001,
10+
DATABASE_URL: "postgresql://codepatchwork_user:1S1HwpTVdmilD8tNeGmI@localhost:5432/codepatchwork",
11+
PGDATABASE: "codepatchwork",
12+
PGUSER: "codepatchwork_user",
13+
PGPASSWORD: "1S1HwpTVdmilD8tNeGmI",
14+
PGHOST: "localhost",
15+
PGPORT: "5432",
16+
SESSION_SECRET: "d8f49a7c31e5b8a2c6f3e9d1b5a7c2e0f3d6a9b8c5e2f1d4a7b3c6e9f2d5a8c1b4e7f0d3a6b9c2e5f8a1d4b7c0",
17+
VITE_PUBLIC_URL: "https://codepatchwork.com",
18+
GOOGLE_APPLICATION_CREDENTIALS: "/home/zk/projects/CodePatchwork/codepatchwork-c3d85-firebase-adminsdk-fbsvc-cce84a84c0.json"
1019
},
1120
instances: 1,
1221
autorestart: true,

package-lock.json

Lines changed: 226 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"tailwindcss-animate": "^1.0.7",
8282
"tw-animate-css": "^1.2.5",
8383
"vaul": "^1.1.2",
84+
"winston": "^3.17.0",
8485
"wouter": "^3.3.5",
8586
"ws": "^8.18.0",
8687
"zod": "^3.24.2",

0 commit comments

Comments
 (0)