Fix server args

This commit is contained in:
Anaïs Betts
2024-11-26 17:33:22 +01:00
parent 7792070d81
commit d69d67cb64

View File

@@ -49,7 +49,7 @@ async function main() {
[ [
inspectorServerPath, inspectorServerPath,
...(command ? [`--env`, command] : []), ...(command ? [`--env`, command] : []),
...(mcpServerArgs ?? []), ...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []),
], ],
{ env: { PORT: SERVER_PORT }, signal: abort.signal }, { env: { PORT: SERVER_PORT }, signal: abort.signal },
); );