Skip to content

Commit

Permalink
chore: 增加提示文案(部分浏览器上 HTTPS 前端无法访问本地 HTTP 后端)
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Feb 10, 2024
1 parent 1d24d79 commit 7b5a20e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.136",
"version": "2.14.137",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export default {
apiSettingPage: {
apiSettingTitle: 'Backend Setting',
apiSettingDesc0: `1. When the backend server address is https://api.com, an attempt is made to request https://api.com/api/utils/env to verify backend availability. When the backend server address cannot be added, try accessing this address first.`,
apiSettingDesc1: `2. HTTPS front-end cannot request non-local HTTP backend. Please configure a reverse proxy or host your own HTTP front-end on your LAN.`,
apiSettingDesc1: `2. HTTPS front-end cannot request non-local HTTP backend(Some browsers also cannot access the local HTTP backend.). Please configure a reverse proxy or host your own HTTP front-end on your LAN.`,
apiSettingDesc2: `Add the backend server address, such as the backend service built on server/NAS/Android/cloud platform. You can refer to XiaoYi's tutorial on setting up a backend: `,
currentApi: {
title: 'Current Backend',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export default {
apiSettingPage: {
apiSettingTitle: '后端设置',
apiSettingDesc0: `1. 后端地址为 https://api.com 时, 将尝试请求 https://api.com/api/utils/env 验证后端可用性. 当无法添加后端地址时, 可先尝试访问此地址`,
apiSettingDesc1: `2. HTTPS 前端无法请求非本地的 HTTP 后端. 请配置反代或在局域网自建 HTTP 前端. `,
apiSettingDesc1: `2. HTTPS 前端无法请求非本地的 HTTP 后端(部分浏览器上也无法访问本地 HTTP 后端). 请配置反代或在局域网自建 HTTP 前端. `,
apiSettingDesc2: `3. 添加后端服务器地址,例如 服务器/NAS/Android/云平台 上搭建的后端服务。可以查看小一佬的后端搭建教程:`,
currentApi: {
title: '当前后端',
Expand Down

0 comments on commit 7b5a20e

Please sign in to comment.