feat: 图片上传改用my_oss服务

This commit is contained in:
Cuishibing
2026-04-26 20:19:44 +08:00
parent 73c6a779e0
commit 9263f7f460
2 changed files with 47 additions and 32 deletions

View File

@@ -141,16 +141,11 @@ npm run dev
```bash
npm run build
npm start
# 默认端口3000可通过 PORT=3001 npm start 指定端口
```
### 8.3 远程访问
SSH反向隧道将远程30000端口映射到本地3000
```bash
./port_forwarding.sh start # 启动
./port_forwarding.sh stop # 停止
./port_forwarding.sh status # 状态
# 访问 http://47.120.74.73:30000
```
### 8.3 图片服务(规划中)
计划将图片上传独立出来,新建 `smalltown-upload` 项目处理图片存储和压缩。
## 九、注意事项