Optimize rain, fix crash

This commit is contained in:
bingus_violet 2024-06-23 16:09:39 -05:00
parent 01e6f8abd4
commit beaa2406d1
3 changed files with 29 additions and 27 deletions

View file

@ -1,7 +1,6 @@
const express = require('express'),
path = require('path'),
fs = require('fs'),
pageUpdater = require('./pageUpdater.js'),
WebSocket = require("ws")
var app = express()
@ -28,6 +27,8 @@ if (!fs.existsSync(announcementFile)) {
fs.writeFileSync(announcementFile, ``)
}
const pageUpdater = require('./pageUpdater.js')
var constants = JSON.parse(fs.readFileSync(path.join(__dirname, 'constants.json')))
app.listen(PORT, () => {