Skip to content
Discussion options

You must be logged in to vote

After @photonjs/hono >= 0.1.7, serve() returns a ServeReturn object instead of starting the server directly. The server is now started by @photonjs/runtime/serve.ts. Simply export the result from serve(): export default serve(app, { port }) - do NOT manually call startServer() or extract nodeHandler.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rtritto
Comment options

Answer selected by magne4000
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