feat: enhance error handling and messages

This commit is contained in:
samanhappy
2025-04-12 12:00:52 +08:00
parent 5df6dd99b7
commit 188f9ab8e6
8 changed files with 261 additions and 38 deletions

View File

@@ -7,7 +7,7 @@ dotenv.config();
const defaultConfig = {
port: process.env.PORT || 3000,
timeout: process.env.REQUEST_TIMEOUT || 120000,
timeout: process.env.REQUEST_TIMEOUT || 60000,
mcpHubName: 'mcphub',
mcpHubVersion: '0.0.1',
};