fix(chat): add ip-based rate limiting to prevent session rotation abuse (#1436)

This commit is contained in:
dancer 2026-03-02 14:00:40 +00:00 committed by GitHub
parent 211cb96a96
commit ad47aa0ee0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 87 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import type { NextConfig } from "next";
import { withBotId } from "botid/next/config";
const basePath = "/demo";
@ -23,4 +24,4 @@ const nextConfig: NextConfig = {
},
};
export default nextConfig;
export default withBotId(nextConfig);