From 4d633e6c1c07a4b1000dbfe684e5adfcf08c7296 Mon Sep 17 00:00:00 2001 From: fcaps Date: Fri, 17 Nov 2023 23:47:59 +0100 Subject: [PATCH] removed /client route, it was not working since a long time --- express.js | 6 ------ templates/views/index.pug | 5 ----- 2 files changed, 11 deletions(-) diff --git a/express.js b/express.js index 310938ff..3cfe5a26 100644 --- a/express.js +++ b/express.js @@ -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) { diff --git a/templates/views/index.pug b/templates/views/index.pug index ee93d3da..c07e6696 100644 --- a/templates/views/index.pug +++ b/templates/views/index.pug @@ -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")