mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-28 21:02:05 +00:00
fix: Renew certificates
This commit is contained in:
@@ -111,6 +111,14 @@
|
||||
loading.save = false;
|
||||
}
|
||||
}
|
||||
async function renewCerts() {
|
||||
try {
|
||||
toast.push('Renewing certificates...');
|
||||
return await post(`/settings/renew.json`, {});
|
||||
} catch ({ error }) {
|
||||
return errorNotification(error);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="flex space-x-1 p-6 font-bold">
|
||||
@@ -219,6 +227,19 @@
|
||||
on:click={() => changeSettings('isAutoUpdateEnabled')}
|
||||
/>
|
||||
</div>
|
||||
<div class="grid grid-cols-2 items-center">
|
||||
<div class="flex flex-col">
|
||||
<div class="pt-2 text-base font-bold text-stone-100">
|
||||
Renew SSL Certificates manually
|
||||
</div>
|
||||
<Explainer text="It will check and renew certificates manually" />
|
||||
</div>
|
||||
<div class="mx-auto ">
|
||||
<button class="w-32 bg-coollabs hover:bg-coollabs-100" on:click={renewCerts}
|
||||
>SSL renew manually</button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user