mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
7 lines
182 B
TypeScript
7 lines
182 B
TypeScript
import csrf from 'csurf'
|
|
import { CsrfRequestMessage } from '@types'
|
|
|
|
|
|
const csrfProtection = (csrf({ cookie: true }) as unknown as CsrfRequestMessage)
|
|
|
|
export default csrfProtection |