@azteam/express 1.2.469 → 1.2.470

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.
package/lib/Server.js CHANGED
@@ -123,6 +123,7 @@ var Server = /*#__PURE__*/function () {
123
123
  app.use((0, _helmet["default"])({
124
124
  frameguard: false
125
125
  }));
126
+ app.set('view engine', 'ejs');
126
127
  app.use((0, _methodOverride["default"])());
127
128
  app.use(_bodyParser["default"].urlencoded({
128
129
  limit: '5mb',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.469",
3
+ "version": "1.2.470",
4
4
  "license": "MIT",
5
5
  "author": "toda <sp.azsolution.net@gmail.com>",
6
6
  "main": "./lib/index.js",
package/src/Server.js CHANGED
@@ -99,6 +99,8 @@ class Server {
99
99
  })
100
100
  );
101
101
 
102
+ app.set('view engine', 'ejs');
103
+
102
104
  app.use(methodOverride());
103
105
  app.use(bodyParser.urlencoded({limit: '5mb', extended: true}));
104
106
  app.use(bodyParser.json({limit: '5mb'}));