api修改

This commit is contained in:
谢宇宁
2026-11-07 11:04:55 +07:00
parent 98fc848187
commit 90ab5c04d5
84 changed files with 245 additions and 65 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -3078,7 +3078,7 @@ __turbopack_context__.s([
/**
* 浏览器接口根地址。
* 留空时走同域 `/api/*`,由 next.config rewrites 转到 API_PROXY_TARGET。
*/ const DEFAULT_UPSTREAM = "https://sgdj-h5.80sygtm.com";
*/ const DEFAULT_UPSTREAM = "https://webhgaapi.mfcg.me";
const raw = ("TURBOPACK compile-time value", "");
const API_BASE_URL = (raw ?? "").replace(/\/$/, "");
function getServerApiBaseUrl() {
File diff suppressed because one or more lines are too long
@@ -1135,8 +1135,7 @@ const NAVIGATION_SECTION_HREFS = [
"/shorts",
"/topics",
"/rank",
"/home-road",
"/apps"
"/home-road"
];
async function navigationSectionSeo(href) {
const { data } = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$src$2f$lib$2f$api$2f$navigation$2d$header$2e$ts__$5b$app$2d$rsc$5d$__$28$ecmascript$29$__["getNavigationHeader"])();
File diff suppressed because one or more lines are too long
@@ -1831,7 +1831,7 @@ __turbopack_context__.s([
/**
* 浏览器接口根地址。
* 留空时走同域 `/api/*`,由 next.config rewrites 转到 API_PROXY_TARGET。
*/ const DEFAULT_UPSTREAM = "https://sgdj-h5.80sygtm.com";
*/ const DEFAULT_UPSTREAM = "https://webhgaapi.mfcg.me";
const raw = ("TURBOPACK compile-time value", "");
const API_BASE_URL = (raw ?? "").replace(/\/$/, "");
function getServerApiBaseUrl() {
@@ -3123,7 +3123,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$src$2f$lib$2f$seo$2f$metadat
function getSiteOrigin() {
const configured = ("TURBOPACK compile-time value", "http://localhost:26124")?.trim().replace(/\/$/, "");
if (configured) return configured;
return "https://hdmgdj.com";
return "https://huangguoduanju.io";
}
function getSiteName(name) {
const value = name?.trim();
File diff suppressed because one or more lines are too long