feat: use production API endpoint
This commit is contained in:
@@ -177,7 +177,7 @@ cli auto-preview \
|
||||
--info-output /tmp/teaching-feedback-preview.json
|
||||
```
|
||||
|
||||
开发者工具模拟器默认访问 `http://127.0.0.1:8080`。进入小程序“我的”页面,应看到“服务、数据库和语音转录正常”。
|
||||
开发者工具模拟器默认访问生产服务 `https://feedback.shay7sev.site`。调试本节启动的本地 API 时,先在小程序“我的”页面保存 `http://127.0.0.1:8080`,应看到“服务、数据库和语音转录正常”。
|
||||
|
||||
## 5. 录音测试流程
|
||||
|
||||
@@ -253,7 +253,7 @@ lsof -nP -iTCP:8080 -sTCP:LISTEN
|
||||
curl http://127.0.0.1:8080/health
|
||||
```
|
||||
|
||||
再到小程序“我的”页面确认 API 地址为 `http://127.0.0.1:8080`。
|
||||
再到小程序“我的”页面将 API 地址保存为 `http://127.0.0.1:8080`。
|
||||
|
||||
### 真机无法访问 `127.0.0.1`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user