1
0

feat: 新增WordPress mShots代理服务实现

实现基于Node.js的WordPress mShots反向代理服务,主要功能包括:
- 代理请求到上游服务并缓存响应
- 自动检测目标主机SSL支持
- 提供缓存兜底机制
- 支持省略协议自动补全
This commit is contained in:
2026-01-20 03:08:15 +08:00
commit 781bc3bd86
5 changed files with 1355 additions and 0 deletions

18
package.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "wordpress-mshots",
"version": "1.0.0",
"main": "server.js",
"scripts": {
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"axios": "^1.12.2",
"dotenv": "^17.2.3",
"express": "^5.1.0"
}
}