diff --git a/gitea/gitea.go b/gitea/gitea.go index 92a837e..2034435 100644 --- a/gitea/gitea.go +++ b/gitea/gitea.go @@ -54,7 +54,7 @@ func (c *Client) Open(user, path string) (fs.File, error) { parts := strings.Split(strings.TrimLeft(path, "/"), "/") log.Printf("parts: %d #%v", len(parts), parts) - if len(parts) > 1 { + if len(parts) > 1 && !strings.Contains(parts[0], ".") { repo = parts[0] filepath = strings.Join(parts[1:], "/") } else {