Replies: 2 comments
-
|
Can you share a snippet of usage? Route rules should be statically analyzable at build time. You can use proper route handlers + |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Additional Context: nuxt/nuxt#32756 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
I would like to request support for conditional proxy in
routingRules.This feature would allow, for example, serving different versions of the same entity (e.g.,
application/ld+json) based on theAcceptheader. Instead of branching based on headers in each eventHandler, this would enable handling such branching collectively inroutingRules.Additionally, if a server route could respond conditionally to routes that already exist in Nuxt's
pages, it would be extremely useful for building services like ActivityPub and similar protocols.Additional information
Beta Was this translation helpful? Give feedback.
All reactions