Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
'Routes' => Routes.name
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Oct 1, 2021
1 parent 2d19f7b commit 1bf74c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PathToRegexpRouteMatcher from "@chubbyjs/chubbyjs-framework-router-path-t
import PathToRegexpUrlGenerator from "@chubbyjs/chubbyjs-framework-router-path-to-regexp/dist/PathToRegexpUrlGenerator";
import ErrorMiddleware from "@chubbyjs/chubbyjs-framework/dist/Middleware/ErrorMiddleware";
import RouteMatcherMiddleware from "@chubbyjs/chubbyjs-framework/dist/Middleware/RouteMatcherMiddleware";
import Routes from "@chubbyjs/chubbyjs-framework/dist/Router/Routes";
import ResponseFactory from "@chubbyjs/chubbyjs-http-message/dist/Factory/ResponseFactory";
import LaminasFactoryInterface from "@chubbyjs/chubbyjs-laminas-config/dist/LaminasFactoryInterface";
import PinoPsrLogger from "@chubbyjs/chubbyjs-pino-psr/dist/PinoPsrLogger";
Expand Down Expand Up @@ -45,7 +46,6 @@ export default (env: string): Config => {
dependencies: {
factories: new Map<string, LaminasFactoryInterface>([
['Middleware[]', MiddlewaresFactory],
['Routes', RoutesFactory],
[CleanDirectoriesCommand.name, CleanDirectoriesCommandFactory],
[ErrorMiddleware.name, ErrorMiddlewareFactory],
[PathToRegexpRouteMatcher.name, PathToRegexpRouteMatcherFactory],
Expand All @@ -54,6 +54,7 @@ export default (env: string): Config => {
[PinoPsrLogger.name, PinoPsrLoggerFactory],
[ResponseFactory.name, ResponseFactoryFactory],
[RouteMatcherMiddleware.name, RouteMatcherMiddlewareFactory],
[Routes.name, RoutesFactory],
]),
},
directories: new Map([
Expand Down

0 comments on commit 1bf74c2

Please sign in to comment.