|
d688166022
|
Add middleware responsible for setting response headers (res.setHeader function).
|
2024-08-24 17:32:27 +02:00 |
|
|
f552b34878
|
Lint out the codebase.
|
2024-08-24 17:23:06 +02:00 |
|
|
f48125f4f2
|
Move matchHostname function to separate source file, and add unit tests for the function.
|
2024-08-24 17:21:09 +02:00 |
|
|
519e68465a
|
Add SVR.JS name and documentation URL to svrjs.json file.
|
2024-08-24 17:13:59 +02:00 |
|
|
1161256ab9
|
Create config.generateServerString() function and src/utils/generateServerString.js file.
|
2024-08-24 17:06:34 +02:00 |
|
|
a3e4ee2328
|
Replace some var's with const's in URL rewrite and web root postfix middleware.
|
2024-08-24 08:24:39 +02:00 |
|
|
2481e3ed58
|
Add URL rewriting middleware, and lint out some other middleware.
|
2024-08-24 08:22:49 +02:00 |
|
|
a49dba73fe
|
Lint out the codebase.
|
2024-08-24 08:07:31 +02:00 |
|
|
1929641ba7
|
Add web root postfixes middleware
|
2024-08-24 08:02:11 +02:00 |
|
|
a7acd9e1f4
|
Replace "callServerError" with "res.error" in the core middleware.
|
2024-08-23 22:47:27 +02:00 |
|
|
cbd3ab0cd0
|
Adapted redirectes middleware function to new SVR.JS API.
|
2024-08-23 22:19:41 +02:00 |
|
|
53024dfdab
|
Added redirects middleware.
|
2024-08-23 22:13:58 +02:00 |
|
|
0c9013feac
|
Added res.head, res.foot, res.responseWrite, and rejection of expectations.
|
2024-08-23 22:10:49 +02:00 |
|
|
00d01e7cf5
|
Replace "var" with "let" in core middleware, and add req.authUser set to null.
|
2024-08-23 21:46:08 +02:00 |
|
|
0e8b8392a4
|
Replace the placeholder fromMain with estimated one.
|
2024-08-23 21:41:31 +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 |
|
|
2dda7d73ab
|
Replaced responseEnd() function (which doesn't exist) with res.end() function for now
|
2024-08-23 21:27:36 +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 |
|