Skip to content

Commit

Permalink
renamed index.js to server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
IzumiiHD committed Oct 19, 2024
1 parent 241516e commit 7f8b13f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pixelit-rewrite",
"version": "1.0.1",
"description": "The very first Blooket private server with pixel art blooks and badges!",
"main": "index.js",
"main": "server.js",
"dependencies": {
"axios": "^1.7.3",
"bcrypt": "^5.1.1",
Expand Down
10 changes: 0 additions & 10 deletions index.js → server.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,6 @@ app.use(router);
const port = 3000;
const encpass = process.env["encpass"];

/*
file.key = "new value";
fs.writeFile(fileName, JSON.stringify(file), function writeJSON(err) {
if (err) return console.log(err);
console.log(JSON.stringify(file, null, 2));
console.log('writing to ' + fileName);
});
*/

app.use(express.static("public"));

app.get("/", (req, res) => {
Expand Down

0 comments on commit 7f8b13f

Please sign in to comment.