Browse Source

* Fix forgotten loadmimetypes

git-svn-id: trunk@42871 -
michael 6 years ago
parent
commit
a02624ef0d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-web/examples/simpleserver/simpleserver.pas

+ 1 - 0
packages/fcl-web/examples/simpleserver/simpleserver.pas

@@ -88,6 +88,7 @@ begin
     usage(S);
     usage(S);
   Quiet:=HasOption('q','quiet');
   Quiet:=HasOption('q','quiet');
   Port:=StrToIntDef(GetOptionValue('p','port'),3000);
   Port:=StrToIntDef(GetOptionValue('p','port'),3000);
+  LoadMimeTypes;
   D:=GetOptionValue('d','directory');
   D:=GetOptionValue('d','directory');
   if D='' then
   if D='' then
     D:=GetCurrentDir;
     D:=GetCurrentDir;