perf(panel): isolate host main.mjs startup, fix standalone CLI args, and close P0 audit bugs

This commit is contained in:
fish
2026-11-18 15:01:43 +09:00
parent 612f57fbcb
commit 67e2f047dd
19 changed files with 398 additions and 162 deletions
+2 -2
View File
@@ -356,8 +356,8 @@ export function createStandaloneWebServer(options = {}) {
);
}
if (options.lsAddr && options.csrfToken) {
setLsRuntimeEndpoint(options.lsAddr, options.csrfToken, { isDynamic: false });
if (options.lsAddr) {
setLsRuntimeEndpoint(options.lsAddr, options.csrfToken || '', { isDynamic: false });
}
const expectedCookieVal = token ? deriveCookieValue(token) : '';