更新依赖

This commit is contained in:
dragon
2025-11-14 17:28:51 +08:00
parent 4ee8f4ed69
commit d67dbf88ae
7 changed files with 62 additions and 10 deletions

View File

@@ -12,7 +12,6 @@ import (
"go.uber.org/zap"
"gopkg.d7z.net/gitea-pages/pkg"
"gopkg.d7z.net/middleware/kv"
"gopkg.d7z.net/middleware/tools"
)
type TestServer struct {
@@ -43,7 +42,7 @@ func NewTestServer(domain string) *TestServer {
domain,
"gh-pages",
memoryKV,
tools.NewPrefixKV(memoryKV, "cache"),
memoryKV.Child("cache"),
0,
func(w http.ResponseWriter, r *http.Request, err error) {
if errors.Is(err, os.ErrNotExist) {