changed param logic & add more routes

This commit is contained in:
2026-09-04 18:08:20 +08:00
parent a1569590bc
commit fe8ba74c5f
13 changed files with 267 additions and 12 deletions

View File

@@ -37,7 +37,6 @@ func config(c *fiber.Ctx) error {
data, err := upstream.Fetch("https://l3-prod-all-bd.bilibiligame.net/api/system/config", headers)
if err != nil {
// fallback 到 cache
data, err = os.ReadFile(cachePath)
if err != nil {
return c.Status(500).SendString("no cache available")