CognxSafeTrack commited on
Commit Β·
ad21f72
1
Parent(s): e1c8d70
fix: resolve port conflict between api and worker
Browse files
apps/whatsapp-worker/src/index.ts
CHANGED
|
@@ -185,7 +185,7 @@ const worker = new Worker('whatsapp-queue', async (job: Job<JobData>) => {
|
|
| 185 |
});
|
| 186 |
|
| 187 |
// βββ STARTUP βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 188 |
-
const PORT =
|
| 189 |
|
| 190 |
const start = async () => {
|
| 191 |
try {
|
|
|
|
| 185 |
});
|
| 186 |
|
| 187 |
// βββ STARTUP βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 188 |
+
const PORT = 8081; // Internal port for the bridge, avoids conflict with the main API on Railway's public PORT
|
| 189 |
|
| 190 |
const start = async () => {
|
| 191 |
try {
|