Преглед на файлове

fix(mcp): call enableProductionMode before getDefaultDbPath

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jungholee преди 1 месец
родител
ревизия
9dd8a738f9
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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