Skip to content

Ensure route.get(uri, path) sets static Bun.serve #1242

@chrisbbreuer

Description

@chrisbbreuer

Clear and concise description of the problem

Let's make sure route.get() in our web.ts sets this static object

Image

Suggested solution

  • ensure route.get() makes use of Bun.serve's static object
  • add route.view() support where it targets the html file

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrouter@stacksjs/router

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions