-
ERROR :
Refused to load the script 'https://unpkg.com/swagger-ui-dist@4.18.2/swagger-ui-bundle.js' because it violates the following Content Security Policy directive: "script-src 'self'". Note that …
-
Hey @Gusb3ll , can you add support for elysia 0.8, the current version of elysia-compression is breaking in elysia 0.8
-
Hi!
I've just started using this library and I'm a bit confused about the response type. Is it correct that I need to add a response type schema to each hook manually?
Would it generally be pos…
-
I follow this instruction: https://elysiajs.com/patterns/reference-models.html
With this code:
```ts
// auth.model.ts
import { Elysia, t } from 'elysia'
export const authModel = new Elysia()
…
-
### What version of Elysia.JS is running?
1.1.4
### What platform is your computer?
Darwin 23.5.0 arm64 arm
### What steps can reproduce the bug?
`server.ts`:
```ts
import Elysia fr…
-
### What is the problem this feature would solve?
Simplifies the code
### What is the feature you are proposing to solve the problem?
```ts
import { Elysia, error } from 'elysia';
import { random…
-
The example code underneath should fetch cookies from my backend thats on a different origin than my front end. However i get a error "Access to fetch at 'http://localhost:1234/cookies' from origin 'h…
-
### What version of Elysia.JS is running?
1.1.3
### What platform is your computer?
Linux 6.5.0-44-generic x86_64 x86_64
### What steps can reproduce the bug?
```js
import { Elysia } from "elysi…
-
This issue is just a formality to keep track of [this](https://github.com/elysiajs/elysia/issues/12#issuecomment-2254219918) discussion in a place more suited for it.
In short, the example I give l…
dy0gu updated
1 month ago
-
```js
import { Elysia, t } from 'elysia'
import { bearer } from '@elysiajs/bearer'
const routes = new Elysia()
.use(bearer())
.onBeforeHandle(({ set, bearer }) => {
// Bearer returns f…
lnfel updated
3 months ago