diff --git a/src/Horse.Constants.pas b/src/Horse.Constants.pas index a9aef77..be6f95d 100644 --- a/src/Horse.Constants.pas +++ b/src/Horse.Constants.pas @@ -10,7 +10,7 @@ interface DEFAULT_HOST = '0.0.0.0'; DEFAULT_PORT = 9000; START_RUNNING = 'Server is runing on %s:%d'; - HORSE_VERSION = '3.1.2'; + HORSE_VERSION = '3.1.3'; implementation diff --git a/src/Horse.Core.RouterTree.pas b/src/Horse.Core.RouterTree.pas index 22b772c..e89fedf 100644 --- a/src/Horse.Core.RouterTree.pas +++ b/src/Horse.Core.RouterTree.pas @@ -1,7 +1,7 @@ unit Horse.Core.RouterTree; {$IF DEFINED(FPC)} -{$MODE DELPHI}{$H+} + {$MODE DELPHI}{$H+} {$ENDIF} interface @@ -22,6 +22,7 @@ interface {$ENDIF} Horse.Request, Horse.Response, + Horse.Commons, Horse.Callback; type @@ -63,8 +64,7 @@ THorseRouterTree = class implementation uses - Horse.Core.RouterTree.NextCaller, - Horse.Commons; + Horse.Core.RouterTree.NextCaller; procedure THorseRouterTree.RegisterRoute(const AHTTPType: TMethodType; const APath: string; const ACallback: THorseCallback); var