Got this error below when using this module. I fix it by importing useRuntimeConfig inside isBanExpired.
"useRuntimeConfig is not defined"
at isBanExpired (D:\2024-2025\Projects\mn-v3-microservices\Frontend\[PROJECT]\node_modules\nuxt-api-shield\dist\runtime\server\utils\isBanExpired.mjs:2:19)
at Object.handler (D:\2024-2025\Projects\mn-v3-microservices\Frontend\[PROJECT]\node_modules\nuxt-api-shield\dist\runtime\server\middleware\shield.mjs:24:7)
at async /D:/2024-2025/Projects/mn-v3-microservices/Frontend/[PROJECT]/node_modules/h3/dist/index.mjs:1962:19
at async Object.callAsync (/D:/2024-2025/Projects/mn-v3-microservices/Frontend/[PROJECT]/node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (/D:/2024-2025/Projects/mn-v3-microservices/Frontend/[PROJECT]/node_modules/h3/dist/index.mjs:2249:7)
Got this error below when using this module. I fix it by importing useRuntimeConfig inside isBanExpired.
9