Skip to content

CarlosHe/horse-staticfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;