Update production deployment references

This commit is contained in:
2569718930@qq.com
2026-06-14 23:13:37 +08:00
parent e909f1f4c9
commit ef21a5808e
11 changed files with 22 additions and 26 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
首次建议打开扩展"选项页"并确认:
- `网站基础地址`:你的前端域名(例如 `https://polyweather-pro.vercel.app`
- `网站基础地址`:你的前端域名(例如 `https://polyweather.top`
- `API 基础地址`:你的后端 API 域名(若同域也可填前端域名)
- `Bearer Token`:后端开启鉴权时填写
+2 -2
View File
@@ -12,12 +12,12 @@
<label class="field">
<span id="siteBaseLabel">Site Base URL</span>
<input id="siteBaseInput" type="text" placeholder="https://polyweather-pro.vercel.app" />
<input id="siteBaseInput" type="text" placeholder="https://polyweather.top" />
</label>
<label class="field">
<span id="apiBaseLabel">API Base URL</span>
<input id="apiBaseInput" type="text" placeholder="https://polyweather-pro.vercel.app" />
<input id="apiBaseInput" type="text" placeholder="https://polyweather.top" />
</label>
<label class="field">
+2 -2
View File
@@ -1,6 +1,6 @@
const DEFAULT_CONFIG = {
apiBase: "https://polyweather-pro.vercel.app",
siteBase: "https://polyweather-pro.vercel.app",
apiBase: "https://polyweather.top",
siteBase: "https://polyweather.top",
authToken: "",
selectedCity: ""
};
+2 -2
View File
@@ -1,8 +1,8 @@
const DEFAULT_CONFIG = {
apiBase: "https://polyweather-pro.vercel.app",
apiBase: "https://polyweather.top",
authToken: "",
selectedCity: "",
siteBase: "https://polyweather-pro.vercel.app"
siteBase: "https://polyweather.top"
};
const CACHE_VERSION = "v3";
const locale = String(navigator.language || "en").toLowerCase().startsWith("zh")