Skip to content

Commit d577860

Browse files
authored
Merge pull request #126 from CS3219-AY2425S1/cloud-fix
fix cloud build
2 parents 2e91c7a + bdf5ebf commit d577860

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cloudbuilds/fe.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ steps:
1212
"NEXT_PUBLIC_API_GATEWAY_URL=${_NEXT_PUBLIC_API_GATEWAY_URL}",
1313
"--build-arg",
1414
"NEXT_PUBLIC_GITHUB_CLIENT_ID=${_NEXT_PUBLIC_GITHUB_CLIENT_ID}",
15+
"--build-arg",
16+
"NEXT_PUBLIC_SOCK_SERVER_URL=${_NEXT_PUBLIC_SOCK_SERVER_URL}",
1517
"-f",
1618
"peerprep-fe/Dockerfile",
1719
"peerprep-fe",
@@ -52,6 +54,7 @@ steps:
5254
substitutions:
5355
_NEXT_PUBLIC_API_GATEWAY_URL: ""
5456
_NEXT_PUBLIC_GITHUB_CLIENT_ID: ""
57+
_NEXT_PUBLIC_SOCK_SERVER_URL: ""
5558

5659
options:
5760
dynamic_substitutions: true

peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const CollaborationEditor = ({
8383
const states = providerRef.current?.awareness.getStates();
8484
if (states) {
8585
const newClients = new Map<number, ConnectedClient>();
86-
// Build new clients map.
86+
// Build new clients map
8787
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8888
states.forEach((value: { [x: string]: any }) => {
8989
const state = value as AwarenessState;

0 commit comments

Comments
 (0)