diff --git a/samples/winecellarserver/MainWebModuleUnit.pas b/samples/winecellarserver/MainWebModuleUnit.pas index b86c90df..37399360 100644 --- a/samples/winecellarserver/MainWebModuleUnit.pas +++ b/samples/winecellarserver/MainWebModuleUnit.pas @@ -38,7 +38,7 @@ begin MVCEngine := TMVCEngine.Create(self); MVCEngine.AddController(TWineCellarApp); MVCEngine.AddMiddleware(TMVCStaticFilesMiddleware.Create( - '/', { StaticFilesPath } + '/app', { StaticFilesPath } TPath.Combine(AppPath, '..\..\www'), { DocumentRoot } 'index.html' { IndexDocument - Before it was named fallbackresource } )); diff --git a/samples/winecellarserver/WineCellarServer.dpr b/samples/winecellarserver/WineCellarServer.dpr index 421a6be8..ab10a091 100644 --- a/samples/winecellarserver/WineCellarServer.dpr +++ b/samples/winecellarserver/WineCellarServer.dpr @@ -38,7 +38,7 @@ begin {$IFDEF MSWINDOWS} // Just to start the WEB client - ShellExecute(0, 'open', 'http://localhost:3000', nil, nil, SW_SHOW); + ShellExecute(0, 'open', 'http://localhost:3000/app', nil, nil, SW_SHOW); {$ENDIF} diff --git a/samples/winecellarserver/WineCellarServer.dproj b/samples/winecellarserver/WineCellarServer.dproj index 4b06d752..6acd9d8e 100644 --- a/samples/winecellarserver/WineCellarServer.dproj +++ b/samples/winecellarserver/WineCellarServer.dproj @@ -1,7 +1,7 @@  {D87A49D2-D936-4F0E-BC4F-38702084A156} - 18.8 + 19.1 VCL WineCellarServer.dpr True @@ -594,6 +594,32 @@ 0 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -726,6 +752,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -748,6 +784,66 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -847,6 +943,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -858,6 +964,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -902,6 +1018,86 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -923,6 +1119,7 @@ + 1 @@ -1026,7 +1223,6 @@ False False - False True False