issues Search Results · repo:elysiajs/elysia-static language:TypeScript
Filter by
27 results
(82 ms)27 results
inelysiajs/elysia-static (press backspace or delete to remove)Current behavior
A HEAD request for a static file, any static file, returns a 404.
Expected behavior
A HEAD request should return exactly the same response headers as a GET for the same resource, but ...
kylecordes
- Opened 13 days ago
- #46
When I set alwaysStatic to true I get this errors:
ReferenceError: Bun is not defined
at staticPlugin (C:\git\demo\node_modules\@elysiajs\static\dist\cjs\index.js:174:20)
Can I use this plugin with ...
myxious
- Opened on Feb 21
- #45
I was trying to use elysia in combination of Angular SSR.
Here is basically my server config.
import { AngularAppEngine, createRequestHandler } from @angular/ssr ;
import { isMainModule } from @angular/ssr/node ...
JeanMeche
- 6
- Opened on Dec 23, 2024
- #42
Hi !
When using the staticPlugin, Sentry tracing does not work on Elysia :
Repro repo : https://github.com/GautierT/elysia-static-plugin-sentry-tracing
Without staticPlugin :
🦊 Elysia is running at ...
GautierT
- Opened on Dec 13, 2024
- #41
[!IMPORTANT] This bug only appears when NODE_ENV=production
Folder structure
| - public
| - index.html
| - test
| - index.html
| - test.ts
Files
index.html - fill in with any generic HTML content. ...
touhidurrr
- 4
- Opened on Oct 10, 2024
- #37
Plugin doesn t serve the index.html at root. I think this test should work, but It doesn t
arch-fan
- 1
- Opened on Sep 28, 2024
- #36
I have tested it with two filenames/paths.
Original: 01-03 Regardless.flac returning 404 not found Renamed: song.flac returning the file Renamed: song 123.flac
returning 404 not found.
4e576rt8uh9ij9okp
- 3
- Opened on Sep 23, 2024
- #35
It seems that a css file is returned with the incorrect mime type. Any idea what may be wrong? image
ghost
- 3
- Opened on Jul 18, 2024
- #33
Hi!
Thank you for creating Elysiajs this static plugin! I m trying out Elysiajs with Bun (1.1.20) to see if I can setup a
basic static file server + API. However, using Elysia 1.1.3 and @elysiajs/static ...
ghost
- 2
- Opened on Jul 18, 2024
- #32
What happen?
When you are using staticPlugin({prefix: / }) with mount() method, Your fetch function faces req.url argument will
rewrited as / all times.
Reproduction code
reproduction.ts
import { Elysia ...
yuniruyuni
- 2
- Opened on Jun 23, 2024
- #30

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.