Skip to content

Commit dd4fd64

Browse files
committed
Small comments
1 parent 21ab744 commit dd4fd64

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modelcontextprotocol/.dockerignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@ node_modules
22
dist
33
*.md
44
*.png
5-
Dockerfile
65
*.log
7-
*.env
8-
6+
*.env

modelcontextprotocol/lib/config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ interface Config {
1919

2020
export const config: Config = {
2121
// Default app to use if none is specified
22-
defaultApp: "slack",
22+
defaultApp: process.env.APP || "slack",
2323

2424
// Port for the SSE server
25-
serverPort: 3010,
25+
serverPort: process.env.PORT
26+
? parseInt(process.env.PORT, 10)
27+
: 3010,
2628

2729
// Pipedream configuration
2830
pipedream: {

0 commit comments

Comments
 (0)