Skip to content

Commit

Permalink
[TEMP] Host GSOC 2021 Alumni Event Advertisement Page
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvjain99 committed Mar 25, 2021
1 parent ad508e5 commit 2ce98b6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gsoc2021alumnievent.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>gsoc2021alumnievent</title>
</head>
<body>
Welcome to gsoc2021alumnievent!
</body>
</html>
4 changes: 4 additions & 0 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ app.use(cookieParser())

app.use(handleGithubWebhookVerificationError);

app.get("/events/gsoc2021alumnievent.html", (req, res) => {
res.sendFile(path.join(__dirname + "/../gsoc2021alumnievent.html"));
});

app.use('/api', require('./routes'))

if(process.env.NODE_ENV === 'production') {
Expand Down

0 comments on commit 2ce98b6

Please sign in to comment.