diff --git a/server/try.go b/server/try.go index 70ee3f7..7de19b6 100644 --- a/server/try.go +++ b/server/try.go @@ -4,12 +4,13 @@ import ( "net/http" "strings" + "github.com/rs/zerolog" + "codeberg.org/codeberg/pages/html" "codeberg.org/codeberg/pages/server/cache" "codeberg.org/codeberg/pages/server/context" "codeberg.org/codeberg/pages/server/gitea" "codeberg.org/codeberg/pages/server/upstream" - "github.com/rs/zerolog" ) // tryUpstream forwards the target request to the Gitea API, and shows an error page on failure.