Skip to content

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