fix ssl button
This commit is contained in:
parent
38cf47d1fa
commit
a2f0a3e1ed
|
@ -51,7 +51,7 @@ export async function getNamespaces(accountId: string, skey: SessionKey): Promis
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function enableSSL(accountId: string, serviceId: string, session: SessionKey) {
|
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: {
|
headers: {
|
||||||
Authorization: btoa(session.accountId + ":" + session.id)
|
Authorization: btoa(session.accountId + ":" + session.id)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue