From 164e3e7c12bedcde8f06f8fc8f1c2ea5f9351419 Mon Sep 17 00:00:00 2001 From: nyaoouo <64143453+nyaoouo@users.noreply.github.com> Date: Sun, 13 Jul 2025 00:29:12 +0800 Subject: [PATCH] fix coding --- src/routes/custom.ts | 4 +- static/webui/index.html | 109 +++++++++++++++++++++------------------- static/webui/script.js | 28 +---------- static/webui/style.css | 19 +++++++ 4 files changed, 79 insertions(+), 81 deletions(-) diff --git a/src/routes/custom.ts b/src/routes/custom.ts index 3a88fefe..9eb3d9e4 100644 --- a/src/routes/custom.ts +++ b/src/routes/custom.ts @@ -14,7 +14,6 @@ import { addMissingMaxRankModsController } from "@/src/controllers/custom/addMis import { webuiFileChangeDetectedController } from "@/src/controllers/custom/webuiFileChangeDetectedController"; import { completeAllMissionsController } from "@/src/controllers/custom/completeAllMissionsController"; import { addMissingHelminthBlueprintsController } from "@/src/controllers/custom/addMissingHelminthBlueprintsController"; -import { editSuitInvigorationUpgradeController } from "@/src/controllers/custom/editSuitInvigorationUpgradeController"; import { createAccountController } from "@/src/controllers/custom/createAccountController"; import { createMessageController } from "@/src/controllers/custom/createMessageController"; @@ -27,6 +26,7 @@ import { setEvolutionProgressController } from "@/src/controllers/custom/setEvol import { setBoosterController } from "@/src/controllers/custom/setBoosterController"; import { updateFingerprintController } from "@/src/controllers/custom/updateFingerprintController"; import { changeModularPartsController } from "@/src/controllers/custom/changeModularPartsController"; +import { editSuitInvigorationUpgradeController } from "@/src/controllers/custom/editSuitInvigorationUpgradeController"; import { getConfigController, setConfigController } from "@/src/controllers/custom/configController"; @@ -46,7 +46,6 @@ customRouter.get("/addMissingMaxRankMods", addMissingMaxRankModsController); customRouter.get("/webuiFileChangeDetected", webuiFileChangeDetectedController); customRouter.get("/completeAllMissions", completeAllMissionsController); customRouter.get("/addMissingHelminthBlueprints", addMissingHelminthBlueprintsController); -customRouter.post("/editSuitInvigorationUpgrade", editSuitInvigorationUpgradeController); customRouter.post("/createAccount", createAccountController); customRouter.post("/createMessage", createMessageController); @@ -59,6 +58,7 @@ customRouter.post("/setEvolutionProgress", setEvolutionProgressController); customRouter.post("/setBooster", setBoosterController); customRouter.post("/updateFingerprint", updateFingerprintController); customRouter.post("/changeModularParts", changeModularPartsController); +customRouter.post("/editSuitInvigorationUpgrade", editSuitInvigorationUpgradeController); customRouter.post("/getConfig", getConfigController); customRouter.post("/setConfig", setConfigController); diff --git a/static/webui/index.html b/static/webui/index.html index 34ef3870..da8087f9 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -455,6 +455,62 @@ +