fix: inject <base href> from base_path config; fix relative asset/nav links; add README

This commit is contained in:
2026-06-09 01:46:53 +02:00
parent 9fc9494ccd
commit 6e40fc0eb1
6 changed files with 123 additions and 9 deletions
+1
View File
@@ -32,6 +32,7 @@ typedef struct {
/* Paths */
char template_dir[512]; /* dir containing header.html, footer.html, iptv.css, *.js */
char data_dir[512]; /* dir for history.json, notifications.json */
char base_path[128]; /* URL prefix when behind reverse proxy, e.g. "/iptv" (no trailing slash) */
/* Limits */
long max_recv_speed; /* bytes/sec, 0 = unlimited */