Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chamhayden authored Sep 15, 2024
1 parent d5af23b commit 0a73bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ app.get('/gitlabredir/:term/:repo/:path?', (req, res) => {
let repoPath = ``;
if (isTutor(zid)) {
repoPath = `https://nw-syd-gitlab.cseunsw.tech/COMP6080/${term}/STAFF/repos/${newRepo}`
} else if (['ass1', 'ass2', 'ass3'].includes(repo)) {
} else if (['ass1', 'ass2', 'ass3', 'exercises'].includes(repo)) {
repoPath = `https://nw-syd-gitlab.cseunsw.tech/COMP6080/${term}/students/z${zid}/${newRepo}`
} else if (['ass4'].includes(repo)) {
const group = builtData[term].groups[zid];
Expand Down

0 comments on commit 0a73bb0

Please sign in to comment.