update version and add default post image

This commit is contained in:
Peter Maquiran
2024-01-22 16:09:02 +01:00
parent ad59853c87
commit ccf5c6c9d6
7 changed files with 37 additions and 43 deletions
@@ -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);
});
}