@spinajs/http 2.0.50 → 2.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/config/http.js +13 -13
  2. package/package.json +11 -11
@@ -84,19 +84,19 @@ module.exports = {
84
84
  * Last resort fatal error fallback template, embedded in code
85
85
  * in case if we cannot render any static files
86
86
  */
87
- FatalTemplate: `<html>
88
- <head>
89
- <title>Oooops !</title>
90
- </head>
91
- <body>
92
- <h1>HTTP 500 - Internal Server Error</h1>
93
- <div>Looks like we're having some server issues.</div>
94
- <hr />
95
- <div>
96
- Go back to the previous page and try again. If you think something is broken, report a problem with fallowing ticket number:
97
- </div>
98
- <h3> Ticket no. {ticket}</h3>
99
- </body>
87
+ FatalTemplate: `<html>
88
+ <head>
89
+ <title>Oooops !</title>
90
+ </head>
91
+ <body>
92
+ <h1>HTTP 500 - Internal Server Error</h1>
93
+ <div>Looks like we're having some server issues.</div>
94
+ <hr />
95
+ <div>
96
+ Go back to the previous page and try again. If you think something is broken, report a problem with fallowing ticket number:
97
+ </div>
98
+ <h3> Ticket no. {ticket}</h3>
99
+ </body>
100
100
  </html>`,
101
101
  },
102
102
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spinajs/http",
3
- "version": "2.0.50",
3
+ "version": "2.0.52",
4
4
  "description": "framework HTTP module base on express.js",
5
5
  "exports": "./lib/index.js",
6
6
  "type": "module",
@@ -19,8 +19,8 @@
19
19
  "format": "prettier --write \"src/**/*.ts\"",
20
20
  "lint": "eslint -c .eslintrc.cjs --ext .ts src --fix",
21
21
  "preversion": "npm run lint",
22
- "version": "npm run format && git add -A src",
23
- "postinstall": "npm run build"
22
+ "version": "npm run format && git add -A src"
23
+
24
24
  },
25
25
  "files": [
26
26
  "lib/**/*"
@@ -53,14 +53,14 @@
53
53
  "@types/uuid": "^9.0.0"
54
54
  },
55
55
  "dependencies": {
56
- "@spinajs/configuration": "^2.0.46",
57
- "@spinajs/di": "^2.0.46",
58
- "@spinajs/exceptions": "^2.0.39",
59
- "@spinajs/fs": "^2.0.46",
60
- "@spinajs/log": "^2.0.46",
61
- "@spinajs/reflection": "^2.0.46",
62
- "@spinajs/templates": "^2.0.46",
63
- "@spinajs/validation": "^2.0.46",
56
+ "@spinajs/configuration": "^2.0.52",
57
+ "@spinajs/di": "^2.0.52",
58
+ "@spinajs/exceptions": "^2.0.52",
59
+ "@spinajs/fs": "^2.0.52",
60
+ "@spinajs/log": "^2.0.52",
61
+ "@spinajs/reflection": "^2.0.52",
62
+ "@spinajs/templates": "^2.0.52",
63
+ "@spinajs/validation": "^2.0.52",
64
64
  "compression": "^1.7.4",
65
65
  "cookie-parser": "^1.4.6",
66
66
  "cookie-signature": "^1.2.0",