fix: inject <base href> from base_path config; fix relative asset/nav links; add README
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user