8000 Update Express middleware and dependencies in web server templates by guoraymon · Pull Request #997 · node-pinus/pinus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update Express middleware and dependencies in web server templates #997

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
Mar 11, 2025

Conversation

guoraymon
Copy link
Contributor
@guoraymon guoraymon commented Mar 11, 2025

Replace deprecated Express middleware with body-parser and method-override in multiple web server templates across different examples and the project template

更新 Web 服务器模板中的 Express 中间件和依赖项。

在不同示例和项目模板中的多个 Web 服务器模板中,用 body-parser 和 method-override 替换已弃用的 Express 中间件。

https://github.com/senchalabs/connect#middleware

Replace deprecated Express middleware with body-parser and method-override in multiple web server templates across different examples and the project template
@guoraymon
Copy link
Contributor Author

throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.');

@whtiehack whtiehack merged commit 14059db into node-pinus:master Mar 11, 2025
3 checks passed
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.

2 participants
0