Skip to content

Commit

Permalink
Fixed emifuse port (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras authored Sep 10, 2024
1 parent 6c97bf0 commit 36655a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- "WEBFUSE__SERVER__PORT=${WEBFUSE__SERVER__PORT:-12000}"
- "WEBFUSE__EMIFUSE__HTTP__SCHEME=${WEBFUSE__EMIFUSE__HTTP__SCHEME:-http}"
- "WEBFUSE__EMIFUSE__HTTP__HOST=${WEBFUSE__EMIFUSE__HTTP__HOST:-localhost}"
- "WEBFUSE__EMIFUSE__HTTP__PORT=${WEBFUSE__EMIFUSE__HTTP__PORT:-9000}"
- "WEBFUSE__EMIFUSE__HTTP__PORT=${WEBFUSE__EMIFUSE__HTTP__PORT:-9001}"
- "WEBFUSE__EMIFUSE__HTTP__PATH=${WEBFUSE__EMIFUSE__HTTP__PATH:-}"
- "WEBFUSE__EMITUNES__HTTP__SCHEME=${WEBFUSE__EMITUNES__HTTP__SCHEME:-http}"
- "WEBFUSE__EMITUNES__HTTP__HOST=${WEBFUSE__EMITUNES__HTTP__HOST:-localhost}"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/03-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can configure the app at runtime using various environment variables:
(default: `localhost`)
- `WEBFUSE__EMIFUSE__HTTP__PORT`
port of the HTTP API of the emifuse service
(default: `9000`)
(default: `9001`)
- `WEBFUSE__EMIFUSE__HTTP__PATH`
path of the HTTP API of the emifuse service
(default: ``)
Expand Down
2 changes: 1 addition & 1 deletion src/api/emifuse/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const scheme = process.env.WEBFUSE__EMIFUSE__HTTP__SCHEME || "http";
const host = process.env.WEBFUSE__EMIFUSE__HTTP__HOST || "localhost";
const port =
process.env.WEBFUSE__EMIFUSE__HTTP__PORT === undefined
? 9000
? 9001
: process.env.WEBFUSE__EMIFUSE__HTTP__PORT;
const path = (process.env.WEBFUSE__EMIFUSE__HTTP__PATH || "")
// Ensure path starts with a slash
Expand Down

0 comments on commit 36655a1

Please sign in to comment.