sasa1977 / site_encrypt

Integrated certification via Let's encrypt for Elixir-powered sites
MIT License
462 stars 33 forks source link

validate_directory_url: fix error return #68

Closed NoBrainSkull closed 2 weeks ago

NoBrainSkull commented 2 weeks ago

Hello,

This fixes errors returned by validate_directory_url when matching on {:internal, opts}. NimbleOptions expects either {:ok, internal} or {:error, "reason"} but the latter was missing the error tuple.

Encountered error was : image

sasa1977 commented 2 weeks ago

Thank you!