Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

Commit 33a3998

Browse files
Merge pull request #110 from TheRefraction/hotfix-prod
Hotfix prod
2 parents b8b13b4 + a77921c commit 33a3998

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

backend/src/config/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const env = {
1111

1212
// PostgreSQL
1313
PG_HOST: process.env.POSTGRES_HOST || 'localhost',
14-
PG_PORT: parseInt(process.env.POSTGRES_PORT) || 5432,
14+
PG_PORT: Number(process.env.POSTGRES_PORT) || 5432,
1515
PG_DB: process.env.POSTGRES_DB || '',
1616
PG_USER: process.env.POSTGRES_APP_USER || '',
1717
PG_PASSWORD: process.env.POSTGRES_APP_PASSWORD || '',

frontend/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
"type": "anyComponentStyle",
4646
"maximumWarning": "4kB",
47-
"maximumError": "8kB"
47+
"maximumError": "16kB"
4848
}
4949
],
5050
"outputHashing": "all"

frontend/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server {
55
index index.html;
66

77
location /api/ {
8-
proxy_pass http://backend:3000/api/;
8+
proxy_pass http://backend:3000;
99
proxy_http_version 1.1;
1010
proxy_set_header Host $host;
1111
proxy_set_header X-Real-IP $remote_addr;

frontend/proxy.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/api": {
3-
"target": "http://backend-dev:3000/api",
3+
"target": "http://backend-dev:3000",
44
"secure": false,
55
"changeOrigin": true
66
}

0 commit comments

Comments
 (0)