We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const serve = require('koa-static-router'); app.use(serve({ dir: `./dist`, router: '/', }));
访问 http://locahost:3000/assets/logo.svg, 按理应该读取./dist/assets/logo.svg,然而读取了./dist/logo.svg导致404
http://locahost:3000/assets/logo.svg
./dist/assets/logo.svg
./dist/logo.svg
The text was updated successfully, but these errors were encountered:
感谢反馈,已修复,之前没有兼容到'/'。🙏
Sorry, something went wrong.
No branches or pull requests
访问
http://locahost:3000/assets/logo.svg
, 按理应该读取./dist/assets/logo.svg
,然而读取了./dist/logo.svg
导致404The text was updated successfully, but these errors were encountered: