fix ssl button
This commit is contained in:
parent
a2f0a3e1ed
commit
bed27ef9a2
2 changed files with 3 additions and 3 deletions
|
@ -50,8 +50,8 @@ export async function getNamespaces(accountId: string, skey: SessionKey): Promis
|
|||
return namespaces;
|
||||
}
|
||||
|
||||
export async function enableSSL(accountId: string, serviceId: string, session: SessionKey) {
|
||||
await fetch('https://api-nws.nickorlow.com/service/'+accountId+'/service/'+serviceId+"/ssl", {
|
||||
export async function enableSSL(accountId: string, serviceId: string, hostname: string, session: SessionKey) {
|
||||
await fetch('https://api-nws.nickorlow.com/'+accountId+'/service/'+serviceId+"/hosts/"+hostname+"/ssl", {
|
||||
headers: {
|
||||
Authorization: btoa(session.accountId + ":" + session.id)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue