changes
This commit is contained in:
parent
01a4b7747e
commit
e448f9a714
@ -156,4 +156,12 @@ async function startSignalR(callback) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
await QSS_API_WRAPPER.connection.start();
|
||||||
|
console.log("Connected to ASP.NET Core SignalR!");
|
||||||
|
QSS_API_WRAPPER.type = 'core';
|
||||||
|
} catch (coreErr) {
|
||||||
|
console.error("Both SignalR connection attempts failed.", coreErr);
|
||||||
|
QSS_API_WRAPPER.type = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user