@nattyjs/express 0.0.1-beta.57 → 0.0.1-beta.59
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -163,7 +163,7 @@ const app = express__default();
|
|
|
163
163
|
const ExpressModule = {
|
|
164
164
|
init(config) {
|
|
165
165
|
const apiPrefix = `/${common.commonContainer.nattyConfig.api?.rootPath}`;
|
|
166
|
-
const staticCfg =
|
|
166
|
+
const staticCfg = common.commonContainer.nattyConfig.static;
|
|
167
167
|
app.use(compression__default());
|
|
168
168
|
if (config.cors)
|
|
169
169
|
app.use(cors__default(config.cors));
|
package/dist/index.mjs
CHANGED
|
@@ -153,7 +153,7 @@ const app = express();
|
|
|
153
153
|
const ExpressModule = {
|
|
154
154
|
init(config) {
|
|
155
155
|
const apiPrefix = `/${commonContainer.nattyConfig.api?.rootPath}`;
|
|
156
|
-
const staticCfg =
|
|
156
|
+
const staticCfg = commonContainer.nattyConfig.static;
|
|
157
157
|
app.use(compression());
|
|
158
158
|
if (config.cors)
|
|
159
159
|
app.use(cors(config.cors));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattyjs/express",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.59",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "ajayojha <ojhaajay@outlook.com>",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"chokidar": "4.0.3",
|
|
20
20
|
"cors": "2.8.5",
|
|
21
21
|
"compression": "1.7.4",
|
|
22
|
-
"@nattyjs/core": "0.0.1-beta.
|
|
23
|
-
"@nattyjs/common": "0.0.1-beta.
|
|
24
|
-
"@nattyjs/types": "0.0.1-beta.
|
|
22
|
+
"@nattyjs/core": "0.0.1-beta.59",
|
|
23
|
+
"@nattyjs/common": "0.0.1-beta.59",
|
|
24
|
+
"@nattyjs/types": "0.0.1-beta.59"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "20.3.1",
|