mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
perf(panel): isolate host main.mjs startup, fix standalone CLI args, and close P0 audit bugs
This commit is contained in:
@@ -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) : '';
|
||||
|
||||
Reference in New Issue
Block a user