We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9809d6f + 9b6a500 commit 014edfeCopy full SHA for 014edfe
src/runtime/server/utils/isBanExpired.ts
@@ -1,4 +1,5 @@
1
import type { RateLimit } from "../types/RateLimit";
2
+import { useRuntimeConfig } from "#imports";
3
4
const isBanExpired = (req: RateLimit) => {
5
const options = useRuntimeConfig().public.nuxtApiShield;
0 commit comments