changed param logic & add more routes
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user