/horse-staticfiles

Horse StaticFiles Middleware

Primary LanguagePascal

horse-staticfiles

Middleware for StaticFiles in HORSE

Sample Horse Server to serve static files

uses
  Horse,
  Horse.StaticFiles;

begin
  THorse.Use('/static', HorseStaticFile('.\static', ['index.html']))
  THorse.Listen;
end;