- mediaproxy =
- IO.gets("Do you want to activate the mediaproxy? (y/N): ")
- |> String.trim()
- |> String.downcase()
- |> String.starts_with?("y")
-
- proxy_url =
- if mediaproxy do
- IO.gets("What is the mediaproxy's URL? (e.g. https://cache.example.com): ")
- |> String.trim()
- else
- "https://cache.example.com"
- end
-