mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
24 lines
349 B
TypeScript
24 lines
349 B
TypeScript
|
import arcjet, {
|
||
|
detectBot,
|
||
|
fixedWindow,
|
||
|
protectSignup,
|
||
|
sensitiveInfo,
|
||
|
shield,
|
||
|
slidingWindow,
|
||
|
} from '@arcjet/next';
|
||
|
|
||
|
export {
|
||
|
detectBot,
|
||
|
fixedWindow,
|
||
|
protectSignup,
|
||
|
sensitiveInfo,
|
||
|
shield,
|
||
|
slidingWindow,
|
||
|
};
|
||
|
|
||
|
export default arcjet({
|
||
|
key: process.env.ARCJET_KEY!,
|
||
|
characteristics: ['ip.src', 'http.host'],
|
||
|
rules: [],
|
||
|
});
|