frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Issue 1: Missing protocol in `CADDY_HOSTNAME`

Open PrinceSajjadHussain opened this issue 6 months ago • 0 comments

The environment variable __ENV.CADDY_HOSTNAME is used in multiple files to construct the URL for HTTP requests. However, none of the examples explicitly include the protocol (e.g., http:// or https://). It's implied that CADDY_HOSTNAME should include the protocol, but this is not enforced and could easily be missed when setting the environment variable, leading to incorrect or failing tests. Add a check or explicitly prefix the hostname with a default protocol if missing.

PrinceSajjadHussain avatar Jun 19 '25 21:06 PrinceSajjadHussain