Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 2ce98b6

Browse files
committed
[TEMP] Host GSOC 2021 Alumni Event Advertisement Page
1 parent ad508e5 commit 2ce98b6

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

gsoc2021alumnievent.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>gsoc2021alumnievent</title>
8+
</head>
9+
<body>
10+
Welcome to gsoc2021alumnievent!
11+
</body>
12+
</html>

server/app.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ app.use(cookieParser())
3838

3939
app.use(handleGithubWebhookVerificationError);
4040

41+
app.get("/events/gsoc2021alumnievent.html", (req, res) => {
42+
res.sendFile(path.join(__dirname + "/../gsoc2021alumnievent.html"));
43+
});
44+
4145
app.use('/api', require('./routes'))
4246

4347
if(process.env.NODE_ENV === 'production') {

0 commit comments

Comments
 (0)