Browse Source

Merge pull request #537 from fenrire/fix/mcp-production-mode

Tobias Lütke 1 tháng trước cách đây
mục cha
commit
33bdf9a308
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/mcp/server.ts

+ 3 - 0
src/mcp/server.ts

@@ -30,6 +30,9 @@ import {
   type IndexStatus,
 } from "../index.js";
 import { getConfigPath } from "../collections.js";
+import { enableProductionMode } from "../store.js";
+
+enableProductionMode();
 
 // =============================================================================
 // Types for structured content