feat: custom node install api

This commit is contained in:
Dr.Lt.Data
2023-12-23 16:16:11 +09:00
parent ef1632d21d
commit 60386b569e
5 changed files with 106 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
import { app } from "../../scripts/app.js";
import { api } from "../../scripts/api.js"
export async function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
export function rebootAPI() {
if (confirm("Are you sure you'd like to reboot the server?")) {
try {