Modularize server into multiple files

This commit is contained in:
schlagmichdoch 2023-11-02 03:17:20 +01:00
parent d9270a5560
commit cb72edef20
8 changed files with 923 additions and 901 deletions

View file

@ -1,11 +1,12 @@
{
"name": "pairdrop",
"version": "1.9.4",
"type": "module",
"description": "",
"main": "index.js",
"main": "server/index.js",
"scripts": {
"start": "node index.js",
"start:prod": "node index.js --rate-limit --auto-restart"
"start": "node server/index.js",
"start:prod": "node server/index.js --rate-limit --auto-restart"
},
"author": "",
"license": "ISC",