mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +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 |