mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 16:28:19 +00:00
fix: bruh
This commit is contained in:
parent
5560cb17dd
commit
3cce7c3bcb
2 changed files with 2 additions and 3 deletions
|
|
@ -29,7 +29,6 @@
|
|||
"socket.io": "^4.8.1",
|
||||
"stegcloak": "^1.1.1",
|
||||
"ws": "^8.18.0",
|
||||
"memwatch-next": "latest"
|
||||
},
|
||||
"optionalDependencies": {},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import { watchForWhenIUseHacktime } from "./modules/hacktime";
|
|||
|
||||
import { EncryptedJsonDb } from "./modules/encrypted-db";
|
||||
import { setupOverallCron } from "./modules/cron";
|
||||
import watchMem from "./modules/memwatch";
|
||||
// import watchMem from "./modules/memwatch";
|
||||
|
||||
const db = new JSONdb("data/data.json");
|
||||
app.dbs = {};
|
||||
|
|
@ -35,7 +35,7 @@ app.dbs.anondm = new EncryptedJsonDb("data/anondm.json", {
|
|||
app.dbs.tags = new JSONdb("data/tags.json");
|
||||
app.dbs.stickymessages = new JSONdb("data/stickymessages.json");
|
||||
attachDB(db);
|
||||
watchMem(app);
|
||||
// watchMem(app);
|
||||
app.start(process.env.PORT || 3000).then(async (d) => {
|
||||
console.log(`App is UP (please help)`);
|
||||
watchForWhenIUseHacktime(app);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue