silgi 0.38.4 → 0.38.5
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/cli/index.mjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -322,7 +322,7 @@ async function createSilgi(config) {
|
|
|
322
322
|
}
|
|
323
323
|
for (const route in silgi.middlewares) {
|
|
324
324
|
const routeObject = silgi.middlewares[route];
|
|
325
|
-
if ("global" in routeObject
|
|
325
|
+
if ("global" in routeObject) {
|
|
326
326
|
const global = routeObject.global ?? false;
|
|
327
327
|
const method = routeObject.method ?? false;
|
|
328
328
|
if (global && !method) {
|