Small UI cleanup, auto-refresh, and per-kind artifact routes
- Remove redundant "manage scripts" button and pipeline sidebar from Fleet page - Bump log tail default 200 -> 1000 lines - Auto-refresh (5s) on deployments list/detail, betas list, server detail, and artifact detail - Drift ignores dedicated.cfg (Plutonium MP config; regenerates if deleted) - Extract ArtifactDetail component; mount under /scripts/[id], /configs/[id], /plugins/[id] so configs and plugins no longer land on /scripts URLs Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ export const GET: RequestHandler = async ({ params, url }) => {
|
||||
if (!path) return json({ ok: false, reason: 'path traversal rejected' }, { status: 400 });
|
||||
|
||||
const linesParam = url.searchParams.get('lines');
|
||||
const wanted = linesParam ? Number.parseInt(linesParam, 10) : 200;
|
||||
const wanted = linesParam ? Number.parseInt(linesParam, 10) : 1000;
|
||||
|
||||
const tail = await tailLog(path, wanted).catch((err) => {
|
||||
return { error: (err as Error).message };
|
||||
|
||||
Reference in New Issue
Block a user