Skip to content

Commit

Permalink
Removed the legacy client from the website (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rackover authored Jan 3, 2019
1 parent 5672664 commit bf46383
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 1 addition & 7 deletions routes/views/client.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@ exports = module.exports = function(req, res) {

var locals = res.locals;

// locals.section is used to set the currently selected
// item in the header navigation.
locals.section = 'client';

// Render the view
res.render('client');

res.redirect(locals.downlords_faf_client_download_link);
};
Empty file modified scripts/getLatestClientRelease.js
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions templates/views/index.pug
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ block content
h1 Forged Alliance Forever
h3 The Community Driven Lobby for </br> Supreme Commander: Forged Alliance
a(class="btn btn-default btn-lg btn-outro btn-danger", href='/client') Download Client
p
| Any issues? Try the
a(href=client_download_link, style="color:white;text-decoration:underline;") legacy client
.the-project: .container
.col-md-3
.col-md-6
Expand Down

0 comments on commit bf46383

Please sign in to comment.