Remove hardcoded flounder.online from css
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 21:09:10 -0800
2 files changed,
10 insertions(+),
1 deletions(-)
A
Caddyfile
@@ -0,0 +1,9 @@
+# FOR TESTING ONLY! Not suitable for production + +https://, flounder.local, *.flounder.local { + reverse_proxy 127.0.0.1:8165 + tls { + on_demand + } +} +
M
templates/header.html
→
templates/header.html
@@ -5,7 +5,7 @@ <head>
<meta charset="utf-8" /> <title>{{.Config.SiteTitle}}</title> <meta name="viewport" content="width=device-width" /> - <link rel="stylesheet" type="text/css" href="https://flounder.online/style.css" /> + <link rel="stylesheet" type="text/css" href="https://{{.Config.Host}}/style.css" /> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐟</text></svg>"> </head> <body>