Skip to content

Commit

Permalink
fix: ensure hostname defaults to nil
Browse files Browse the repository at this point in the history
This prevents Swagger from putting a URL in the generated documentation.
  • Loading branch information
paulswartz committed Oct 11, 2023
1 parent 827236d commit 85b3ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api_web/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ config :api_web, ApiWeb.Endpoint,
shutdown_timeout: 90_000
]
],
url: [scheme: "https", port: 443],
url: [scheme: "https", host: nil, port: 443],
server: true,
cache_static_manifest: "priv/static/cache_manifest.json"

Expand Down

0 comments on commit 85b3ed0

Please sign in to comment.