Remove redundant loader installer path input in editor

Path is set by the loader upload form below, so the manual
text input was redundant. Drop the field from the editor UI
and stop overwriting the saved value on form submit so an
uploaded loader keeps its path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 21:09:55 +09:00
parent d03ad9d826
commit 9d55819e30
2 changed files with 0 additions and 5 deletions

View File

@@ -179,7 +179,6 @@ opRouter.post('/op/dashboard/:packName', requireAuth, async (req, res, next) =>
recommendedJdkVersion: Number(pickFirstValue(req.body.recommendedJdkVersion)), recommendedJdkVersion: Number(pickFirstValue(req.body.recommendedJdkVersion)),
loaderType: pickFirstValue(req.body.loaderType) as PackDefinition['loaderType'], loaderType: pickFirstValue(req.body.loaderType) as PackDefinition['loaderType'],
loaderVersion: pickFirstValue(req.body.loaderVersion), loaderVersion: pickFirstValue(req.body.loaderVersion),
loaderInstallerPath: pickFirstValue(req.body.loaderInstallerPath),
serverMinRam: Number(pickFirstValue(req.body.serverMinRam)), serverMinRam: Number(pickFirstValue(req.body.serverMinRam)),
serverMaxRam: Number(pickFirstValue(req.body.serverMaxRam)), serverMaxRam: Number(pickFirstValue(req.body.serverMaxRam)),
clientMinRam: Number(pickFirstValue(req.body.clientMinRam)), clientMinRam: Number(pickFirstValue(req.body.clientMinRam)),

View File

@@ -62,10 +62,6 @@
<span>로더 버전</span> <span>로더 버전</span>
<input name="loaderVersion" value="<%= pack.loaderVersion ?? '' %>" placeholder="예: 0.16.14 / 47.3.0 / 21.4.111-beta" /> <input name="loaderVersion" value="<%= pack.loaderVersion ?? '' %>" placeholder="예: 0.16.14 / 47.3.0 / 21.4.111-beta" />
</label> </label>
<label class="fullSpan">
<span>로더 설치파일 경로</span>
<input name="loaderInstallerPath" value="<%= pack.loaderInstallerPath ?? '' %>" placeholder="예: uploads/sample-pack/loaders/..." />
</label>
<label> <label>
<span>packPath</span> <span>packPath</span>
<input name="packPath" value="<%= pack.packPath %>" required /> <input name="packPath" value="<%= pack.packPath %>" required />