Skip to content

Commit 22d0610

Browse files
committed
change port for k8 session service
1 parent 385957f commit 22d0610

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

k8s/session-service.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
image: asia-southeast1-docker.pkg.dev/cs3219-g11-peerprep/cs3219-g11-repo/session-svc:latest
2020
imagePullPolicy: Always
2121
ports:
22-
- containerPort: 5001
22+
- containerPort: 4444
2323
envFrom:
2424
- secretRef:
2525
name: session-service-config
@@ -40,8 +40,8 @@ metadata:
4040
spec:
4141
type: ClusterIP
4242
ports:
43-
- port: 5001
44-
targetPort: 5001
43+
- port: 4444
44+
targetPort: 4444
4545
selector:
4646
app: session-svc
4747
---

session-service/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const setupWSConnection = require("y-websocket/bin/utils").setupWSConnection;
1010
export const allowedOrigins = ["*"];
1111

1212
/**
13-
* Server INITIALIZATION and CONFIGURATION.
13+
* Server INITIALIZATION and CONFIGURATION
1414
* CORS configuration
1515
* Request body parsing
1616
*/

0 commit comments

Comments
 (0)