Commit 7cacc435 by emsys

debugging websocket

parent 07612752
......@@ -16,7 +16,6 @@ object WsServerModule: TWsServerModule
Left = 85
Top = 110
object XDataServer1WebSocket: TSparkleWebSocketMiddleware
Path = 'emimobile'
AllowedOrigins.Strings = (
'*')
end
......
......@@ -52,6 +52,7 @@ uses
Common.Logging,
Common.Middleware.Logging,
Common.Config, Vcl.Forms, IniFiles,
XData.Service.Common,
Ws.ServiceImpl;
{%CLASSGROUP 'Vcl.Controls.TControl'}
......@@ -68,7 +69,7 @@ var
begin
RegisterServiceType(TWebSocketService);
Logger.Log(1, Format('Ws model "%s" registered TWebSocketService', [AModelName]));
RegisterOpenApiService;
//RegisterOpenApiService;
Url := ABaseUrl;
if not Url.EndsWith('/') then
Url := Url + '/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment