Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed recent users #476

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "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")