From a2f0a3e1ed49336f2bb52467db0aa1dd1d456d63 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Fri, 17 Nov 2023 16:56:18 -0500 Subject: [PATCH] fix ssl button --- src/nws-api/calls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nws-api/calls.ts b/src/nws-api/calls.ts index aa9e62f..9efae6b 100644 --- a/src/nws-api/calls.ts +++ b/src/nws-api/calls.ts @@ -51,7 +51,7 @@ export async function getNamespaces(accountId: string, skey: SessionKey): Promis } export async function enableSSL(accountId: string, serviceId: string, session: SessionKey) { - await fetch('https://api-nws.nickorlow.com/'+accountId+'/service/'+serviceId+"/ssl", { + await fetch('https://api-nws.nickorlow.com/service/'+accountId+'/service/'+serviceId+"/ssl", { headers: { Authorization: btoa(session.accountId + ":" + session.id) },