revert: reverts csrf-csrf back to csurf (#1442)

* revert: reverts csrf-csrf back to csurf

This reverts csrf-csrf change brought on by `9e3119` in #1393 back to `csurf` that is maintained

* fix: type declarations for csurf
This commit is contained in:
fallenbagel
2025-03-11 09:33:40 +08:00
committed by GitHub
parent cdfb30ea16
commit 21ab20bba9
5 changed files with 57 additions and 29 deletions

4
server/types/custom.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
declare module '@dr.pogodin/csurf' {
import csrf = require('csurf');
export = csrf;
}