feat: ota

This commit is contained in:
zzw
2026-09-22 16:47:29 +08:00
parent eb98c5bf5a
commit fdf5825d83
2 changed files with 10 additions and 3 deletions
+7 -3
View File
@@ -16,10 +16,14 @@ function _M.access(conf, ctx)
["/api/v3/version"] = true,
["/admin/v3/login"] = true,
["/admin/v3/refresh"] = true,
["/admin/v3/refresh"] = true,
["/api/v3/express/sf"] = true,
["/api/v3/express/jd"] = true,
["/api/v3/express/sf"] = true,
["/api/v3/express/jd"] = true,
["/api/v3/version"] = true,
["/api/v3/chore/oss/upload"] = true,
}
local user_key = core.request.header(ctx, "authorization")