Skip to content

Commit

Permalink
removed /client route, it was not working since a long time
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaps committed Nov 18, 2023
1 parent 2288b1f commit 4d633e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions express.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ app.post('/account/activate', require(routes + 'account/post/activate'));
app.get('/account/checkUsername', require('./routes/views/checkUsername'));
app.get('/password_resetted', require(routes + 'account/get/requestPasswordReset'));
app.get('/report_submitted', require(routes + 'account/get/report'));
// Download Client
app.get('/client', (req, res) => {
let locals = res.locals;
res.redirect(locals.downlords_faf_client_download_link);
});


app.get('/logout', function (req, res, next) {
req.logout(function (err) {
Expand Down
5 changes: 0 additions & 5 deletions templates/views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ block content
button PLAY NOW
a(href='https://discord.gg/mXahVSKGVb')
button Join our Discord
//a(href='https://www.faforever.com/client')
button.buyButton FA on GOG

block js
script(src="../../js/app/index.js")
Expand Down

0 comments on commit 4d633e6

Please sign in to comment.