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
  • Loading branch information
fcaps committed Nov 19, 2023
1 parent f94dbfd commit 3d5635b
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 @@ -213,15 +213,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 = "645 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 3d5635b

Please sign in to comment.