We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"@effect/platform": "^0.76.0" "@effect/platform-bun": "^0.56.0"
The full-stack dev server in Bun is not functioning correctly when using the static option in BunHttpServer.layer.
static
BunHttpServer.layer
const ServerLive = BunHttpServer.layer({ static: { "/": homepage, }, development: true, }); const HttpLive = HttpRouter.empty.pipe( HttpServer.serve(HttpMiddleware.logger), HttpServer.withLogAddress, Layer.provide(ServerLive) ); BunRuntime.runMain(Layer.launch(HttpLive));
Serve the homepage HTML when accessing http://localhost:3000/
http://localhost:3000/
Got 404.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Effect is running?
"@effect/platform": "^0.76.0"
"@effect/platform-bun": "^0.56.0"
What steps can reproduce the bug?
The full-stack dev server in Bun is not functioning correctly when using the
static
option inBunHttpServer.layer
.What is the expected behavior?
Serve the homepage HTML when accessing
http://localhost:3000/
What do you see instead?
Got 404.
Additional information
No response
The text was updated successfully, but these errors were encountered: