add Refresh
CI / changes (push) Successful in 6s
CI / docker-bff (push) Successful in 8s
CI / docker-product (push) Failing after 2s

This commit is contained in:
2026-08-10 18:05:29 +08:00
parent 7228d3fedc
commit 9865f7dae9
16 changed files with 390 additions and 245 deletions
+7 -18
View File
@@ -8,24 +8,7 @@ plugin_configs:
local f = assert(loadfile("/usr/local/apisix/auth.lua"))
local mod = f()
return mod.access
routes:
- id: bff-no-auth
name: bff-no-auth
priority: 100
uris:
- /api/v3/login
- /admin/v3/login
methods:
- GET
- POST
- PUT
- OPTIONS
upstream:
type: roundrobin
nodes:
"bff:10000": 1
- id: bff
name: bff
priority: 10
@@ -34,10 +17,16 @@ routes:
- /api/*
methods:
- GET
- PUT
- POST
- PUT
- OPTIONS
plugin_config_id: 1
plugins:
cors:
allow_origins: "*"
allow_methods: "GET,POST,PUT,OPTIONS"
allow_headers: "Authorization,Authorization-Type,Authorization-Auth,Refresh,X-Refresh,X-Service-Code"
max_age: 86400
upstream:
type: roundrobin
nodes: