Skip to content

Commit 09424c8

Browse files
authored
Merge pull request #6 from Popplywop/main
fix: Fix the path resolution to the production dist folder
2 parents 55cdf25 + 0edbe74 commit 09424c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dbhub",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Universal Database MCP Server",
55
"main": "dist/index.js",
66
"type": "module",

src/config/demo-loader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const __dirname = path.dirname(__filename);
1717
let DEMO_DATA_DIR: string;
1818
const projectRootPath = path.join(__dirname, '..', '..', '..');
1919
const projectResourcesPath = path.join(projectRootPath, 'resources', 'employee-sqlite');
20-
const distPath = path.join(__dirname, '..', 'resources', 'employee-sqlite');
20+
const distPath = path.join(__dirname, 'resources', 'employee-sqlite');
2121

2222
// First try the project root resources directory (for development)
2323
if (fs.existsSync(projectResourcesPath)) {
@@ -74,4 +74,4 @@ export function getSqliteInMemorySetupSql(): string {
7474
}
7575

7676
return sql;
77-
}
77+
}

0 commit comments

Comments
 (0)