Skip to content

How to access Workers bindings in Pages Functions with Hono? #802

Answered by yusukebe
yudai-nkt asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yudai-nkt !

If you want to use Hono in Pages Functions, you can use "advanced mode".

https://developers.cloudflare.com/pages/platform/functions/advanced-mode/
https://github.com/honojs/examples/tree/main/pages

With onRequestGet, it does not work well.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@yusukebe
Comment options

@yudai-nkt
Comment options

@yudai-nkt
Comment options

@yusukebe
Comment options

@yudai-nkt
Comment options

Answer selected by yudai-nkt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants