Skip to content

Commit cac95a7

Browse files
committed
Use correct folder on windows
1 parent 84a0fe0 commit cac95a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function getLocalDataPath(): { localDataPath: string; configPath: string } {
4646
const localAppData = process.env.LOCALAPPDATA ?? process.env.APPDATA;
4747
if (localAppData && appData) {
4848
localDataPath = path.join(localAppData, "mongodb", "mongodb-mcp");
49-
configPath = path.join(localAppData, "mongodb", "mongodb-mcp.conf");
49+
configPath = path.join(localDataPath, "mongodb-mcp.conf");
5050
}
5151
}
5252

0 commit comments

Comments
 (0)