-
Hey!
I am facing this strange behavior where if I set an instance to `scoped`, middlewares that are used by the instance are not triggered.
```typescript
const scoped = new Elysia({ scoped: tru…
-
Is there some mechanism to return a stream? Say I want to write a function that calls `fetch` and returns the fetch's response body, without accumulating the full body in memory?
Sorry if this is s…
-
I was working on an app which uses the "@elysiajs/html" plugin, but depending on where I call .use(compression()), my browser would either download a file when I load my route, or it wouldn't apply co…
-
After I upgraded elysiajs to v0.6.24. Most of https://github.com/elysiajs/elysia-html tests are failing due to headers being duplicated.
![image](https://github.com/elysiajs/elysia/assets/47537704/…
-
```typescript
import { hmr } from "@gtrabanco/elysia-hmr-html";
new Elysia()
.use(hmr({ prefixToWatch: "src" }))
```
```bash
[{
"resource": "/T:/Projects/AGSCraft/labs/rough/src/server.t…
t0mri updated
11 months ago
-
Hi,
I recently got into bun and was looking for a nice webframework which supports filesystem based routing. I like it because it - by design - enforces a clear structure for the project and you kn…
-
I'm trying out the following example of using the html plugin(0.7.3):
```
import { Elysia } from 'elysia'
import { html } from '@elysiajs/html'
new Elysia()
.use(html())
.get('/', …
-
# Error 1
![bilde](https://github.com/bogeychan/elysia-logger/assets/357860/4b3b88b9-743c-4346-9cdb-a8c4e7227a9e)
```
Argument of type '_INTERNAL_ElysiaLoggerPlugin' is not assignable to parameter…
BeGj updated
11 months ago
-
Despite following the instructions from https://elysiajs.com/plugins/html.html, I couldn't display an HTML string.
Using bun 1.0.4 and latest Elysia
## Reproduce
```bash
bun create elysia ap…
-
```
import { Elysia } from "elysia";
import { cors } from "@elysiajs/cors";
import { swagger } from "@elysiajs/swagger";
const app = new Elysia()
.use(swagger())
.use(cors())
.get("/", …