zeekay
b110194b4f
refactor: /v1/ canonical paths (sweep)
Per global rule: /v1/ only, never /api/. Visor backend (Beego router)
moves namespace from "/api" -> "/v1", with matching updates to filter,
record, authz, and the web frontend client wrappers.
Files touched:
- routers/router.go: NewNamespace + all beego.Router("/api/...") -> "/v1/..."
- routers/filter.go, record.go: prefix checks updated
- routers/authz_filter.go: getUrlPath /api/get-account -> /v1/get-account
- authz/authz.go: demo-mode allowlist updated
- object/record.go: action stripping uses /v1/ now
- web/src/RecordListPage.js: requestUri default
- web/src/backend/*: ServerUrl + /api/* -> /v1/* (all 7 backend modules)
`go build ./...` clean. web/yarn.lock untracked (pre-existing).
2026-05-18 22:43:54 -07:00
..
2026-05-18 22:43:54 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-02-20 23:56:24 -08:00
2026-05-13 12:15:32 -07:00
2026-05-13 12:15:32 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 02:24:53 -07:00
2026-05-13 02:24:53 -07:00
2023-07-31 18:46:17 +08:00
2026-05-13 01:56:42 -07:00
2026-05-13 12:15:32 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-18 22:43:54 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 02:24:53 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 01:56:42 -07:00
2026-05-13 12:02:11 -07:00
2026-05-13 01:56:42 -07:00