♻️ Upgrade to next 15 (#1700)

This commit is contained in:
Luke Vella 2025-04-30 13:44:28 +01:00 committed by GitHub
parent 590e19ae16
commit 5a4ee56df6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 2089 additions and 2417 deletions

View file

@ -12,7 +12,7 @@ type Unit = "ms" | "s" | "m" | "h" | "d";
type Duration = `${number} ${Unit}` | `${number}${Unit}`;
async function getIPAddress() {
return headers().get("x-forwarded-for");
return (await headers()).get("x-forwarded-for");
}
export async function rateLimit(