Fix condition for auto browser opening
This commit is contained in:
@@ -100,7 +100,7 @@ async function main() {
|
|||||||
|
|
||||||
if (serverOk) {
|
if (serverOk) {
|
||||||
try {
|
try {
|
||||||
if (!process.env.MCP_AUTO_OPEN_DISABLED) {
|
if (process.env.MCP_AUTO_OPEN_DISABLED !== "true") {
|
||||||
open(`http://127.0.0.1:${CLIENT_PORT}`);
|
open(`http://127.0.0.1:${CLIENT_PORT}`);
|
||||||
}
|
}
|
||||||
await spawnPromise("node", [inspectorClientPath], {
|
await spawnPromise("node", [inspectorClientPath], {
|
||||||
|
|||||||
Reference in New Issue
Block a user