twitch: cgi: make paths relative - frontends - front-ends for some sites (experiment) (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 3aa7cb6937a6c5219f87ac14e29619d2a34d7fda (DIR) parent 0ced109739684b8047d8debb7af78ae23f70c31d (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 13 Feb 2020 22:07:46 +0100 twitch: cgi: make paths relative Diffstat: M twitch/cgi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- (DIR) diff --git a/twitch/cgi.c b/twitch/cgi.c @@ -51,7 +51,7 @@ header(void) OUT("Twitch.tv</title>\n" " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" " <meta http-equiv=\"Content-Language\" content=\"en\" />\n" - " <link href=\"/twitch.css\" rel=\"stylesheet\" type=\"text/css\" />\n" + " <link href=\"twitch.css\" rel=\"stylesheet\" type=\"text/css\" />\n" "</head>\n" "<body class=\""); xmlencode(classname); @@ -60,11 +60,11 @@ header(void) "<div id=\"menuwrap\">\n" "<div id=\"menu\">\n" "<span id=\"links\">\n" - " <a href=\"/featured\">Featured</a> | \n" - " <a href=\"/games\">Games</a> | \n" - " <a href=\"/vods\">VODS</a> |\n" + " <a href=\"featured\">Featured</a> | \n" + " <a href=\"games\">Games</a> | \n" + " <a href=\"vods\">VODS</a> |\n" " <a href=\"https://git.codemadness.org/frontends/\">Source-code</a> | \n" - " <a href=\"/links\">Links</a>\n" + " <a href=\"links\">Links</a>\n" "</span>\n" "</div></div>\n" " <hr class=\"hidden\" />\n"