Skip to content

Commit 3c3292b

Browse files
authored
Merge pull request #118 from CS3219-AY2425S1/cloud-fix
Cloud fix
2 parents e2ff168 + 9cde73f commit 3c3292b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
api: ${{ steps.filter.outputs.api }}
1414
question: ${{ steps.filter.outputs.question }}
1515
user: ${{ steps.filter.outputs.user }}
16+
matching: ${{ steps.filter.outputs.matching }}
17+
session: ${{ steps.filter.outputs.session }}
1618
steps:
1719
- uses: actions/checkout@v3
1820
- uses: dorny/paths-filter@v2

matching-service/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const app = express();
1010
const PORT = process.env.PORT || 5001; // 5001 to prevent conflicts
1111

1212
app.use(express.json());
13-
app.use(cors()); // config cors so that front-end can use.
13+
app.use(cors()); // config cors so that front-end can use
1414
app.options("*", cors());
1515

1616
const apiVersion = "/api/v1";

session-service/src/server.ts

Lines changed: 2 additions & 2 deletions
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
*/
@@ -23,7 +23,7 @@ app.use(
2323
credentials: true,
2424
})
2525
);
26-
app.use(express.json());
26+
app.use(express.json()); //
2727

2828
/**
2929
* Create an http server

0 commit comments

Comments
 (0)