Browse Source

* Fix forgotten loadmimetypes

git-svn-id: trunk@42871 -
michael 6 năm trước cách đây
mục cha
commit
a02624ef0d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
   Quiet:=HasOption('q','quiet');
   Port:=StrToIntDef(GetOptionValue('p','port'),3000);
+  LoadMimeTypes;
   D:=GetOptionValue('d','directory');
   if D='' then
     D:=GetCurrentDir;