@parameter1/base-cms-marko-web 3.7.2 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/start-server.js +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parameter1/base-cms-marko-web",
|
3
|
-
"version": "3.7.
|
3
|
+
"version": "3.7.3",
|
4
4
|
"description": "Core Marko+Express components for BaseCMS websites",
|
5
5
|
"author": "Jacob Bare <jacob@parameter1.com>",
|
6
6
|
"main": "index.js",
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"publishConfig": {
|
47
47
|
"access": "public"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "86f55f37c25c31102330760ea6432a5581228248"
|
50
50
|
}
|
package/start-server.js
CHANGED
@@ -85,14 +85,14 @@ module.exports = async ({
|
|
85
85
|
baseBrowseGraphqlUri,
|
86
86
|
});
|
87
87
|
|
88
|
+
app.use(disabledFeatures());
|
89
|
+
|
88
90
|
// Await required services here...
|
89
91
|
if (isFn(onStart)) await onStart(app);
|
90
92
|
|
91
93
|
// Register load more after onStart to ensure userland middleware is available.
|
92
94
|
loadMore(app);
|
93
95
|
|
94
|
-
app.use(disabledFeatures());
|
95
|
-
|
96
96
|
// Load website routes.
|
97
97
|
if (!isFn(routes)) throw new Error('A routes function is required.');
|
98
98
|
routes(app);
|