Skip to content

Commit

Permalink
feat: update host configuration to allow external access (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasclaes authored Feb 8, 2025
1 parent 626f87d commit bea1158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ SQLITE_DB_PATH=data/pocket-id.db
POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@localhost:5432/pocket-id
UPLOAD_PATH=data/uploads
PORT=8080
HOST=localhost
HOST=0.0.0.0
2 changes: 1 addition & 1 deletion backend/internal/common/env_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var EnvConfig = &EnvConfigSchema{
UploadPath: "data/uploads",
AppURL: "http://localhost",
Port: "8080",
Host: "localhost",
Host: "0.0.0.0",
MaxMindLicenseKey: "",
GeoLiteDBPath: "data/GeoLite2-City.mmdb",
}
Expand Down

0 comments on commit bea1158

Please sign in to comment.