Fixes issue with Calibre web expecting SSL (#347)

http urls now work with Calibre web

---------

Co-authored-by: Dave Allie <dave@daveallie.com>
This commit is contained in:
Justin Mitchell
2026-01-14 06:54:14 -05:00
committed by GitHub
parent c2fb8ce55d
commit 847786e342
3 changed files with 28 additions and 4 deletions

View File

@@ -3,6 +3,11 @@
namespace UrlUtils {
/**
* Check if URL uses HTTPS protocol
*/
bool isHttpsUrl(const std::string& url);
/**
* Prepend http:// if no protocol specified (server will redirect to https if needed)
*/