mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +02:00
pas2js: compile httpcompiler with fpc 3.2.2
This commit is contained in:
parent
ffc3e1780d
commit
5d571853ac
@ -794,7 +794,11 @@ begin
|
||||
httprouter.RegisterRoute('$sys/status',rmGet,@DoStatusRequest);
|
||||
end;
|
||||
if FAPI<>'' then
|
||||
{$IF FPC_FULLVERSION > 30300}
|
||||
TFPWebFileLocationAPIModule.RegisterFileLocationAPI(ExtractWord(1,FAPI,[',']),ExtractWord(2,FAPI,[',']));
|
||||
{$ELSE}
|
||||
Log(etError,'API support missing, Compile with fpc 3.3.1+');
|
||||
{$ENDIF}
|
||||
TSimpleFileModule.RegisterDefaultRoute;
|
||||
inherited;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user