From 85d288c83a65c3ce6327439596288083ba2ec0cc Mon Sep 17 00:00:00 2001 From: Daniele Teti Date: Tue, 6 Dec 2022 16:09:16 +0100 Subject: [PATCH] https://github.com/danieleteti/delphimvcframework/issues/602 --- samples/concurrency_speed_test/WebModuleU.dfm | 1 - samples/concurrency_speed_test/WebModuleU.pas | 5 ----- 2 files changed, 6 deletions(-) diff --git a/samples/concurrency_speed_test/WebModuleU.dfm b/samples/concurrency_speed_test/WebModuleU.dfm index 018d0670..02d66b97 100644 --- a/samples/concurrency_speed_test/WebModuleU.dfm +++ b/samples/concurrency_speed_test/WebModuleU.dfm @@ -1,5 +1,4 @@ object MyWebModule: TMyWebModule - OldCreateOrder = False OnCreate = WebModuleCreate OnDestroy = WebModuleDestroy Actions = <> diff --git a/samples/concurrency_speed_test/WebModuleU.pas b/samples/concurrency_speed_test/WebModuleU.pas index 4781715a..1d21aca9 100644 --- a/samples/concurrency_speed_test/WebModuleU.pas +++ b/samples/concurrency_speed_test/WebModuleU.pas @@ -57,11 +57,6 @@ begin end); FMVC.AddController(TMyController); // To enable compression (deflate, gzip) just add this middleware as the last one - FMVC.AddMiddleware(TMVCStaticFilesMiddleware.Create( - '/', { StaticFilesPath } - TPath.Combine(ExtractFilePath(GetModuleName(HInstance)), 'www'), { DocumentRoot } - 'index.html' {IndexDocument - Before it was named fallbackresource} - )); FMVC.AddMiddleware(TMVCCompressionMiddleware.Create); end;