Skip to content

Commit 32c3740

Browse files
committed
fix: --local option
1 parent 4be648c commit 32c3740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/burger-mcp/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dotenv.config({ path: path.join(__dirname, '../../../.env'), quiet: true });
88

99
// Use --local option to force MCP server to connect to local Burger API
1010
const localApiUrl = 'http://localhost:7071';
11-
export const burgerApiUrl = process.argv[2] !== '--local' ? localApiUrl : (process.env.BURGER_API_URL || localApiUrl);
11+
export const burgerApiUrl = process.argv[2] === '--local' ? localApiUrl : (process.env.BURGER_API_URL || localApiUrl);

0 commit comments

Comments
 (0)