mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
♻️ Upgrade to next 15 (#1700)
This commit is contained in:
parent
590e19ae16
commit
5a4ee56df6
69 changed files with 2089 additions and 2417 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue