mirror of
https://github.com/payloadcms/payload.git
synced 2026-09-14 20:07:19 +08:00
f30d34f9fc
Adds a new function `getRequestOrigin` that properly retrieves the origin of the request, either from `serverURL` or a valid `host` header