mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
update version and add default post image
This commit is contained in:
@@ -12,7 +12,7 @@ export class SocketConnectionMCRService {
|
||||
|
||||
connect() {
|
||||
|
||||
// console.log("SocketConnectionMCRService")
|
||||
console.log("SocketConnectionMCRService")
|
||||
|
||||
var connection = new signalR.HubConnectionBuilder()
|
||||
.withUrl("https://gdcmapi-dev.dyndns.info/FileHub", {
|
||||
@@ -27,17 +27,17 @@ export class SocketConnectionMCRService {
|
||||
|
||||
|
||||
|
||||
// connection.start()
|
||||
// .then(() => {
|
||||
// console.log("SignalR connection started.");
|
||||
// })
|
||||
// .catch((error) => {
|
||||
// console.error("Error starting SignalR connection:", error);
|
||||
// });
|
||||
connection.start()
|
||||
.then(() => {
|
||||
console.log("SignalR connection started.");
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("Error starting SignalR connection:", error);
|
||||
});
|
||||
|
||||
// connection.onclose((error) => {
|
||||
// console.log("SignalR connection closed:", error);
|
||||
// });
|
||||
connection.onclose((error) => {
|
||||
console.log("SignalR connection closed:", error);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user