Closed bogeychan closed 10 months ago
as a workaround one can add ignore patterns for each folder and subfolder like:
Folder structure:
staticPlugin({
ignorePatterns: [/public\/?/, /public\/nested\/?/]
});
make sure to include the default patterns too: https://github.com/elysiajs/elysia-static/blob/403223119bdc52910c75044b7cf5ebf4bda01699/src/index.ts#L29
Same for me
Code to reproduce
Folder structure
public
nested
Navigate to
http://localhost:8080/public/
http://localhost:8080/public/nested/
Error
Environment