Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to opt-out from static serving (sirv) #58

Open
brillout opened this issue Feb 13, 2025 · 1 comment
Open

Allow user to opt-out from static serving (sirv) #58

brillout opened this issue Feb 13, 2025 · 1 comment
Assignees

Comments

@brillout
Copy link
Member

brillout commented Feb 13, 2025

Currently, vike-node uses sirv to serve static assets. We could/should allow users to bring their own static middleware.

With @magne4000 we have plans to allow the user to completely own middleware installation (so that the user can fully determine middleware order). With that plan, I guess we can simply tell users to skip adding the static middleware.

@magne4000
Copy link
Member

@universal-middleware/sirv now exists and is a step in the right direction to be able to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants