You are not logged in.
Hi Arnaud,
When the HttpServer is instantiated with useHttpApiRegisteringURI, all initial roots get registered.
However, subsequent calls to AddServer does not check this value and will pass False to AddUrl's aRegisterURI parameter, thereby causing those roots to not be automatically registered.
Suggestion:
1. Store the value of the initial TSQLHttpServerOptions.
2. mORMotHttpServer.pas line 419
aServer.Model.Root,fPort,(aHttpServerSecurity=secSSL),fDomainName)<>NO_ERROR then
to
aServer.Model.Root,fPort,(aHttpServerSecurity=secSSL),fDomainName,useHttpApiRegisteringURI=fHttpServerOptions)<>NO_ERROR then
Thanks!
Offline
Done!
See http://synopse.info/fossil/info/2dc23da077
Thanks for the proposal!
Offline