feat(api): ratelimiting

because some group of idiots like me so much that they spam my endpoint
This commit is contained in:
taskylizard 2024-07-10 03:47:04 +00:00
parent 9e91f608b9
commit a69a834899
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
4 changed files with 44 additions and 7 deletions

View file

@ -1,7 +1,32 @@
{
"extends": "./.nitro/types/tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": true
},
"include": ["./.vitepress/"]
"extends": "./.nitro/types/tsconfig.json"
// "compilerOptions": {
// "verbatimModuleSyntax": true,
// "baseUrl": ".",
// "module": "esnext",
// "target": "esnext",
// "lib": ["DOM", "ESNext"],
// "strict": true,
// "jsx": "preserve",
// "esModuleInterop": true,
// "skipLibCheck": true,
// "moduleResolution": "node",
// "resolveJsonModule": true,
// "noUnusedLocals": true,
// "strictNullChecks": true,
// "forceConsistentCasingInFileNames": true,
// "sourceMap": true,
// "isolatedModules": true
// },
// "include": [
// "**/*.vue",
// "**/*.tsx",
// "**/*.ts",
// ".vitepress/**/**/*.ts",
// ".vitepress/**/**/*.tsx",
// ".vitepress/**/**/*.vue"
// ],
// "exclude": ["**/node_modules/**", "dist/**"],
// "extensions": [".js", ".ts", ".tsx", ".jsx", ".vue"],
// "allowSyntheticDefaultImports": true
}