@reldens/server-utils 0.3.0 → 0.4.0

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.
@@ -122,9 +122,14 @@ class AppServerFactory
122
122
  });
123
123
  }
124
124
 
125
- async enableServeStatics(app, staticsPath)
125
+ async serveStatics(app, statics)
126
126
  {
127
- app.use(this.applicationFramework.static(staticsPath));
127
+ app.use(this.applicationFramework.static(statics));
128
+ }
129
+
130
+ async serveStaticsPath(app, staticsPath, statics)
131
+ {
132
+ app.use(staticsPath, this.applicationFramework.static(statics));
128
133
  }
129
134
 
130
135
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reldens/server-utils",
3
3
  "scope": "@reldens",
4
- "version": "0.3.0",
4
+ "version": "0.4.0",
5
5
  "description": "Reldens - Server Utils",
6
6
  "author": "Damian A. Pastorini",
7
7
  "license": "MIT",