1
0
Fork 0
forked from svrjs/svrjs
Commit graph

114 commits

Author SHA1 Message Date
e1b6ca8803 Change serverconsole.js, so it no longer exports the constructor, just serverconsole object. 2024-08-24 16:58:27 +02:00
3a8cdccc0d Replace configJSON with process.serverConfig. 2024-08-24 16:55:44 +02:00
7a658613fe Added process.singleThreaded flag. 2024-08-24 16:54:28 +02:00
2481e3ed58 Add URL rewriting middleware, and lint out some other middleware. 2024-08-24 08:22:49 +02:00
1929641ba7 Add web root postfixes middleware 2024-08-24 08:02:11 +02:00
53024dfdab Added redirects middleware. 2024-08-23 22:13:58 +02:00
881502d897 Disable console.log for non-TTY stdout 2024-08-23 21:58:26 +02:00
d5c4e9aeaf Fix the baf38ee353 commit. 2024-08-23 21:35:58 +02:00
baf38ee353 Add "throw wwwrootError", for now. 2024-08-23 21:34:58 +02:00
be33f83ed1 Added default config.json setting from SVR.JS 3.x, and fixed core middleware. 2024-08-23 21:33:26 +02:00
dd344ecca3 Expand core middleware, add URL sanitizer middleware, and add logging to the middleware error handling. 2024-08-23 21:25:23 +02:00
000ae75904 Add middleware functionality. Also replace JSON.parse with JSON.stringify with Object.assign. 2024-08-23 20:43:09 +02:00
ee4c3dcda6 Add some core functionality to SVR.JS 2024-08-23 19:58:15 +02:00
6564ccbe83 Rewritten SVR.JS from scratch - the build system for the new SVR.JS is set up, but the source is just placeholders. 2024-08-23 17:05:10 +02:00