Skip to content

refactor(dev): update serve-static to v2 #3302

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

Merged
merged 1 commit into from
Apr 10, 2025
Merged

refactor(dev): update serve-static to v2 #3302

merged 1 commit into from
Apr 10, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Apr 10, 2025

Update serve-static (used in dev-server to serve public assets) to v2.

Main breaking change is dotfiles being ignored (full changelog: https://github.com/expressjs/serve-static/blob/master/HISTORY.md#200-beta1--2022-02-05)

To keep backward compatibility and also valid cases like public/.well-known option value is kept to allow.

Copy link

Deploying nitrojs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3c6e53d
Status: ✅  Deploy successful!
Preview URL: https://87c54592.nitrojs.pages.dev
Branch Preview URL: https://refactor-serve-static-v2.nitrojs.pages.dev

View logs

@pi0 pi0 merged commit 044f526 into v2 Apr 10, 2025
5 checks passed
@pi0 pi0 deleted the refactor/serve-static-v2 branch April 10, 2025 10:47
pi0 added a commit that referenced this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant