Skip to content

Commit

Permalink
removed dead code, since we have to re-implement it differently. rela…
Browse files Browse the repository at this point in the history
…ted #475
  • Loading branch information
fcaps authored and Brutus5000 committed Nov 19, 2023
1 parent 8c5de75 commit cf7478e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 69 deletions.
9 changes: 0 additions & 9 deletions express.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,6 @@ for (let i = 0; i < requireRunArray.length; i++) {
}
}, appConfig.extractorInterval * 60 * 1000);
}
setInterval(() => {
try {
require(`./scripts/getRecentUsers`).run();

} catch (e) {
console.error(`getRecentUsers script caused the error`, e);
}
}, appConfig.playerCountInterval * 1000);


//404 Error Handlers
app.use(function (req, res) {
Expand Down
12 changes: 0 additions & 12 deletions public/js/app/index.js

This file was deleted.

42 changes: 0 additions & 42 deletions scripts/getRecentUsers.js

This file was deleted.

7 changes: 1 addition & 6 deletions templates/views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ block bannerData
- var bannerImage = "home"
- var bannerFirstTitle = "AN RTS CLASSIC REFORGED"
- var bannerSecondTitle = "MASSIVE SCALE WARFARE"
- var bannerSubTitle = "" + " " + "COMMANDERS PLAYING RIGHT NOW"
- var bannerSubTitle = "MANY COMMANDERS PLAYING RIGHT NOW"
block banner
mixin banner()
.mainBannerContainer(class= bannerImage + 'Banner' style='background-image: url(../images/banner/' + bannerImage + '.webp);')
Expand Down Expand Up @@ -120,8 +120,3 @@ block content
button PLAY NOW
a(href='https://discord.gg/mXahVSKGVb')
button Join our Discord

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


0 comments on commit cf7478e

Please sign in to comment.