From 50c0f7db21d435bba8b29652feb8580c9a0ac080 Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sun, 20 Aug 2023 01:21:38 +1000 Subject: [PATCH] Fix syntax error (oops) --- gitea/gitea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/gitea.go b/gitea/gitea.go index d95a1cc..92a837e 100644 --- a/gitea/gitea.go +++ b/gitea/gitea.go @@ -70,7 +70,7 @@ func (c *Client) Open(user, path string) (fs.File, error) { // If it's a dir, give them index.html if strings.HasSuffix(filepath, "/") { - *filepath += "index.html" + filepath += "index.html" } allowed := c.allowsPages(user, repo)