@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
|
|
125
|
+
async serveStatics(app, statics)
|
|
126
126
|
{
|
|
127
|
-
app.use(this.applicationFramework.static(
|
|
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
|
}
|