mirror of
https://github.com/cita-777/metapi.git
synced 2026-11-21 21:56:52 +08:00
Port of 14eadaf (v1.3.1, release/1.3.x) onto main:
* fix(security): normalize admin auth path, reject non-origin-form targets,
drop node:vm challenge eval in the New API shield solver, trust
X-Forwarded-For only from TRUSTED_PROXIES
* docs: document TRUSTED_PROXIES
* chore: version 1.3.1
* fix(deps): fastify ^5.12.8, @fastify/static ^10.1.10
Conflicts resolved against main: docker env/compose (kept main's new
variables plus TRUSTED_PROXIES), package.json (kept main's newer deps),
settings runtime route/tests (payload rules), newApi.ts imports.
Refs #629
Refs #631