diff --git a/package.json b/package.json index 10dbdb3..5864733 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@extollo/lib", - "version": "0.9.1", + "version": "0.9.2", "description": "The framework library that lifts up your code.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/http/routing/Route.ts b/src/http/routing/Route.ts index 3529798..d9ab49d 100644 --- a/src/http/routing/Route.ts +++ b/src/http/routing/Route.ts @@ -362,7 +362,7 @@ export class Route): this { - this.preflight.push(request => request.make(middleware, request).apply()) + this.preflight.prepend(request => request.make(middleware, request).apply()) this.displays.push({ stage: 'pre', display: `${middleware.name}`,