Enabled restarting your application from denied state
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m23s

This commit is contained in:
2025-12-08 17:10:53 -05:00
parent df89d9bf67
commit e61bd1c5a1
3 changed files with 37 additions and 5 deletions

View File

@@ -136,4 +136,15 @@ export async function denyApplication(id: Number) {
if (!res.ok) {
console.error("Something went wrong denying the application")
}
}
export async function restartApplication() {
const res = await fetch(`${addr}/application/restart`, {
method: 'POST',
credentials: 'include'
})
if (!res.ok) {
console.error("Something went wrong restarting your application")
}
}