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)