From d8b6aec992221f48c60cecbd47e6f4b75c2e8d85 Mon Sep 17 00:00:00 2001 From: Fayeed Pawaskar Date: Thu, 8 Aug 2024 14:06:21 +0530 Subject: [PATCH] chore: Update Ad4mConnectElement to handle URL changes and WebSocket connection issues --- connect/src/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect/src/core.ts b/connect/src/core.ts index b36272e0b..92a61690f 100644 --- a/connect/src/core.ts +++ b/connect/src/core.ts @@ -405,7 +405,7 @@ export default class Ad4mConnect { let token = localStorage.getItem('hosting_token'); const response = await fetch('https://hosting.ad4m.dev/api/service/checkStatus', { - method: 'GET', + method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + token