We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c09ad7 commit 880735aCopy full SHA for 880735a
1 file changed
scripts/requests.js
@@ -3,8 +3,9 @@ let proxyURL = null;
3
let activeTripObj;
4
let currentRequestTry = 0;
5
6
-const GIRA_GRAPHQL_ENDPOINT = "https://c2g091p01.emel.pt/api/graphql";
+// const GIRA_GRAPHQL_ENDPOINT = "https://c2g091p01.emel.pt/api/graphql";
7
const GIRA_GRAPHQL_WS_ENDPOINT = "wss://c2g091p01.emel.pt/ws/graphql";
8
+const GIRA_GRAPHQL_ENDPOINT = GIRA_GRAPHQL_WS_ENDPOINT.replace("wss://", "https://");
9
const GIRA_AUTH_ENDPOINT = "https://api-auth.emel.pt/auth";
10
const GIRA_TOKEN_REFRESH_ENDPOINT = "https://api-auth.emel.pt/token/refresh";
11
const GIRA_USER_ENDPOINT = "https://api-auth.emel.pt/user";
0 commit comments