Update BMA.EHR.Insignia/Services/InsigniaRequestProcessService.cs
This commit is contained in:
parent
6bba1b19ce
commit
51fc5c6395
1 changed files with 3 additions and 2 deletions
|
|
@ -35,11 +35,12 @@ public class InsigniaRequestProcessService : BackgroundService
|
||||||
|
|
||||||
public override async Task StartAsync(CancellationToken cancellationToken)
|
public override async Task StartAsync(CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var client = new SocketIO("https://bma-ehr.frappet.synology.me/api/v1/org-socket",
|
var client = new SocketIO("https://hrmsbkk.case-collection.com",
|
||||||
new SocketIOOptions
|
new SocketIOOptions
|
||||||
{
|
{
|
||||||
// เพิ่ม token ใน handshake.auth
|
// เพิ่ม token ใน handshake.auth
|
||||||
Auth = new { token = AccessToken ?? "" }
|
Auth = new { token = AccessToken ?? "" },
|
||||||
|
Path = "/api/v1/org-socket"
|
||||||
});
|
});
|
||||||
|
|
||||||
client.OnConnected += async (sender, e) =>
|
client.OnConnected += async (sender, e) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue