]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Extend CORS origin help/hover message
authorClaudio <claudio@cmoretti.it>
Thu, 23 May 2024 21:53:01 +0000 (23:53 +0200)
committerFlole <Flole998@users.noreply.github.com>
Thu, 6 Jun 2024 13:11:26 +0000 (15:11 +0200)
Clarify that the value should be a URL, prefixed with http:// or https://, and not "bare" domains, which currently silently fail to save. Fixes (partially) #1700.

src/config.c

index ca4fff906f51cc43e9d94fdd8af03fe3bd945900..d5926df64aa824e7619eba89fa6aa89203ad0d40 100644 (file)
@@ -2527,8 +2527,8 @@ const idclass_t config_class = {
       .name   = N_("CORS origin"),
       .desc   = N_("HTTP CORS (cross-origin resource sharing) origin. This "
                    "option is usually set when Tvheadend is behind a "
-                   "proxy. Enter a domain (or IP) to allow "
-                   "cross-domain requests."),
+                   "proxy. Enter the URL (domain or IP address, prefixed "
+                   "with http:// or https://) to allow cross-domain requests."),
       .set    = config_class_cors_origin_set,
       .off    = offsetof(config_t, cors_origin),
       .opts   = PO_EXPERT,