26 lines
722 B
Diff
26 lines
722 B
Diff
From abedd294bcae5c17cd2ecf89e1129817182f91a8 Mon Sep 17 00:00:00 2001
|
|
From: Aaron Fischer <mail@aaron-fischer.net>
|
|
Date: Thu, 22 Jul 2021 22:39:47 +0200
|
|
Subject: [PATCH] Quick and dirty image activation
|
|
|
|
Signed-off-by: Aaron Fischer <mail@aaron-fischer.net>
|
|
---
|
|
serve_https.go | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/serve_https.go b/serve_https.go
|
|
index e75e6aa..82bbf4b 100644
|
|
--- a/serve_https.go
|
|
+++ b/serve_https.go
|
|
@@ -17,6 +17,7 @@ import (
|
|
var cssBytes = []byte(gmitohtml.StyleCSS)
|
|
|
|
func serveHTTPS(w http.ResponseWriter, r *http.Request) (int, int64, string) {
|
|
+ gmitohtml.Config.ConvertImages = true
|
|
if r.URL.Path == "" {
|
|
// Redirect to /
|
|
u, err := url.Parse(r.URL.String())
|
|
--
|
|
2.32.0
|
|
|