Skip to content

Commit

Permalink
Fixed compilation issue. Master branch still has no clue about MARS.R…
Browse files Browse the repository at this point in the history
…equestAndResponse.Interfaces, reverting some changes from the previous commit.
  • Loading branch information
andrea-magni committed May 23, 2019
1 parent 1ce811e commit e927c54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Demos/Mustache/Server.Forms.Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ implementation

uses
StrUtils, Web.HttpApp
, MARS.Core.URL, MARS.Core.Engine, MARS.Core.RequestAndResponse.Interfaces
, MARS.Core.URL, MARS.Core.Engine
, Server.Ignition;

procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction);
Expand All @@ -59,7 +59,7 @@ procedure TMainForm.FormCreate(Sender: TObject);
// skip favicon requests (browser)
TServerEngine.Default.BeforeHandleRequest :=
function (const AEngine: TMARSEngine;
const AURL: TMARSURL; const ARequest: IMARSRequest; const AResponse: IMARSResponse;
const AURL: TMARSURL; const ARequest: TWebRequest; const AResponse: TWebResponse;
var Handled: Boolean
): Boolean
begin
Expand Down Expand Up @@ -116,3 +116,4 @@ procedure TMainForm.StopServerActionUpdate(Sender: TObject);
end;

end.

0 comments on commit e927c54

Please sign in to comment.