mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-28 15:32:00 +00:00
Merge branch 'main' into feature/lru-cache
This commit is contained in:
commit
044c61dbb6
15 changed files with 121 additions and 67 deletions
|
@ -74,7 +74,7 @@ func Serve(ctx *cli.Context) error {
|
|||
// clientResponseCache stores responses from the Gitea server
|
||||
clientResponseCache := cache.NewInMemoryCache()
|
||||
|
||||
giteaClient, err := gitea.NewClient(cfg.Gitea, clientResponseCache)
|
||||
giteaClient, err := gitea.NewClient(cfg.Forge, clientResponseCache)
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not create new gitea client: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue