Skip to content

Commit

Permalink
Add /faq` redirect
Browse files Browse the repository at this point in the history
Part of #257
  • Loading branch information
MadLittleMods committed Jun 22, 2023
1 parent fbd23d2 commit e043020
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/routes/install-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ function installRoutes(app) {
})
);

app.get(
'/faq',
identifyRoute('faq'),
asyncHandler(async function (req, res) {
res.redirect('https://github.com/matrix-org/matrix-public-archive/blob/main/docs/faq.md');
})
);

// Our own archive app styles and scripts
app.use('/assets', express.static(path.join(__dirname, '../../dist/assets')));

Expand Down

0 comments on commit e043020

Please sign in to comment.