N
Nuxt6mo ago
bnason

Environment dependent middleware

Is it possible to create a server middleware that is not deployed in production? Specifically I am deploying to CloudFlare and do not want to use my access log plugin that uses morgan.
2 Replies
manniL
manniL6mo ago
1) you could do a process.env check there
manniL
manniL6mo ago
GitHub
Nuxt Layer - Multi App - Disable Server Routes and Middleware for A...
Describe the feature Hello, I'm currently encountering an issue where I need to disable server routes and middleware for a specific package within our monorepo, but I'm unsure how to procee...
Want results from more Discord servers?
Add your server