docs: 更新文档中的URL为HTTPS
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
## 预期效果
|
||||
- 子页面刷新后不再空白
|
||||
- URL格式变为 `http://domain/hwappx/test/#/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
- URL格式变为 `https://domain/hwappx/test/#/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
- 无需修改服务器配置
|
||||
|
||||
## 构建部署
|
||||
|
||||
@@ -154,8 +154,8 @@ app.listen(3000, () => {
|
||||
## 验证方法
|
||||
|
||||
1. 构建H5应用并部署到服务器的`/hwappx/test/`目录
|
||||
2. 访问应用首页:`http://yourdomain.com/hwappx/test/`
|
||||
3. 导航到子页面:`http://yourdomain.com/hwappx/test/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
2. 访问应用首页:`https://yourdomain.com/hwappx/test/`
|
||||
3. 导航到子页面:`https://yourdomain.com/hwappx/test/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
4. 刷新页面,验证页面是否正常显示
|
||||
|
||||
## 常见问题排查
|
||||
@@ -530,8 +530,8 @@ app.listen(3000, () => {
|
||||
对于每个应用,执行以下验证步骤:
|
||||
|
||||
1. 构建应用并部署到对应的子目录
|
||||
2. 访问应用首页,例如:`http://yourdomain.com/hwappx/test/`
|
||||
3. 导航到子页面,例如:`http://yourdomain.com/hwappx/test/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
2. 访问应用首页,例如:`https://yourdomain.com/hwappx/test/`
|
||||
3. 导航到子页面,例如:`https://yourdomain.com/hwappx/test/pages_tool/form/formdata?id=73&uniacid=2793`
|
||||
4. 刷新页面,验证页面是否正常显示
|
||||
5. 直接访问子页面URL,验证是否能正常加载
|
||||
|
||||
@@ -749,7 +749,7 @@ app.listen(3000, () => {
|
||||
### 验证方法
|
||||
|
||||
1. 部署一个符合规则的新子目录应用,如 `/hwappx/newapp/`
|
||||
2. 访问应用首页:`http://yourdomain.com/hwappx/newapp/`
|
||||
2. 访问应用首页:`https://yourdomain.com/hwappx/newapp/`
|
||||
3. 导航到子页面并刷新,验证是否正常显示
|
||||
4. 直接访问子页面URL,验证是否能正常加载
|
||||
|
||||
|
||||
Reference in New Issue
Block a user