Skip to content
Discussion options

You must be logged in to vote

You should be able to use Hono however you please :)

Are there any hidden costs to applying middleware to the Hono app directly, instead of with Universal Middleware?

There is no hidden cost.

Can you confirm that only GET and POST requests are/will be supported for API routes added this way?

No, any request method is supported, you can add HEAD or OPTIONS handlers if you want to. Just think about it like Hono is using Vike, not the other way around.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@ambergristle

This comment was marked as off-topic.

@magne4000

This comment was marked as off-topic.

@brillout

This comment was marked as off-topic.

Comment options

You must be logged in to vote
3 replies
@brillout
Comment options

@ambergristle

This comment was marked as off-topic.

@brillout

This comment was marked as off-topic.

Answer selected by magne4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants