api修改
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"/_not-found/page": "app/_not-found/page.js",
|
||||
"/nav/page": "app/nav/page.js",
|
||||
"/page": "app/page.js"
|
||||
"/enkey/route": "app/enkey/route.js",
|
||||
"/h5/m3u8/[...path]/route": "app/h5/m3u8/[...path]/route.js",
|
||||
"/home-road/page": "app/home-road/page.js",
|
||||
"/info/[slug]/page": "app/info/[slug]/page.js",
|
||||
"/page": "app/page.js",
|
||||
"/robots.txt/route": "app/robots.txt/route.js",
|
||||
"/short-drama/[slug]/page": "app/short-drama/[slug]/page.js",
|
||||
"/short-drama/[slug]/play/[episode]/page": "app/short-drama/[slug]/play/[episode]/page.js"
|
||||
}
|
||||
@@ -54,10 +54,11 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$src$2f$lib$2f$seo$2f$site$2e
|
||||
;
|
||||
;
|
||||
;
|
||||
function sitemapOrigin(foreverUrlAddr, requestOrigin) {
|
||||
if (foreverUrlAddr.startsWith("http")) return foreverUrlAddr.replace(/\/$/, "");
|
||||
/** sitemap 必须与站点同域:优先用环境配置的站点域名(生产为 huangguoduanju.io),其次后台永久地址,最后当前请求域名。 */ function sitemapOrigin(foreverUrlAddr, requestOrigin) {
|
||||
const configured = ("TURBOPACK compile-time value", "http://localhost:26124")?.trim().replace(/\/$/, "");
|
||||
return configured || requestOrigin;
|
||||
if (configured) return configured;
|
||||
if (foreverUrlAddr.startsWith("http")) return foreverUrlAddr.replace(/\/$/, "");
|
||||
return requestOrigin;
|
||||
}
|
||||
async function robots() {
|
||||
await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$16$2e$4$2e$1_$40$babel$2b$core$40$7$2e$29$2e$7_$40$types$2b$node$40$20$2e$19$2e$43_react$2d$dom$40$19$2e$3$2e$0_react$40$19$2e$3$2e$0_$5f$react$40$19$2e$3$2e$0$2f$node_modules$2f$next$2f$server$2e$js__$5b$app$2d$route$5d$__$28$ecmascript$29$__["connection"])();
|
||||
@@ -349,7 +350,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() {
|
||||
@@ -709,7 +710,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
@@ -249,7 +249,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
@@ -249,7 +249,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
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
@@ -41,7 +41,7 @@ globalThis.__BUILD_MANIFEST = {
|
||||
"static/chunks/turbopack-_1ajtdyja1k2v5._.js",
|
||||
"static/chunks/_219uq1sj0q91c._.js"
|
||||
],
|
||||
"/_not-found/page": [
|
||||
"/short-drama/[slug]/page": [
|
||||
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_1tv1bvk2dj7ph._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_next-devtools_index_1hw-_gzpw_fi2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom-client_development_09u_1j28hjxei.js",
|
||||
@@ -54,9 +54,9 @@ globalThis.__BUILD_MANIFEST = {
|
||||
"static/chunks/0zix_@swc_helpers_cjs_1fie0-s7m60gu._.js",
|
||||
"static/chunks/_1anvha4rlo79g._.js",
|
||||
"static/chunks/turbopack-_1ajtdyja1k2v5._.js",
|
||||
"static/chunks/_18x7jxupx5rou._.js"
|
||||
"static/chunks/_1ijk6p-ee6-ze._.js"
|
||||
],
|
||||
"/nav/page": [
|
||||
"/short-drama/[slug]/play/[episode]/page": [
|
||||
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_1tv1bvk2dj7ph._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_next-devtools_index_1hw-_gzpw_fi2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom-client_development_09u_1j28hjxei.js",
|
||||
@@ -69,7 +69,37 @@ globalThis.__BUILD_MANIFEST = {
|
||||
"static/chunks/0zix_@swc_helpers_cjs_1fie0-s7m60gu._.js",
|
||||
"static/chunks/_1anvha4rlo79g._.js",
|
||||
"static/chunks/turbopack-_1ajtdyja1k2v5._.js",
|
||||
"static/chunks/_0w2jlohhfhuy8._.js"
|
||||
"static/chunks/_0rc01luv623c1._.js"
|
||||
],
|
||||
"/info/[slug]/page": [
|
||||
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_1tv1bvk2dj7ph._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_next-devtools_index_1hw-_gzpw_fi2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom-client_development_09u_1j28hjxei.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom_development_0qaz9shbv19o2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_1f656li1l6ci5._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-server-dom-turbopack_208pustgnhis-._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_1w15bhds8i16h._.js",
|
||||
"static/chunks/1cpi_next_dist_client_16ymzkd_xoq12._.js",
|
||||
"static/chunks/1cpi_next_dist_0olwpokihy_g3._.js",
|
||||
"static/chunks/0zix_@swc_helpers_cjs_1fie0-s7m60gu._.js",
|
||||
"static/chunks/_1anvha4rlo79g._.js",
|
||||
"static/chunks/turbopack-_1ajtdyja1k2v5._.js",
|
||||
"static/chunks/_0t69-r8qc6d_3._.js"
|
||||
],
|
||||
"/home-road/page": [
|
||||
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_1tv1bvk2dj7ph._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_next-devtools_index_1hw-_gzpw_fi2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom-client_development_09u_1j28hjxei.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_cjs_react-dom_development_0qaz9shbv19o2.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-dom_1f656li1l6ci5._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_react-server-dom-turbopack_208pustgnhis-._.js",
|
||||
"static/chunks/1cpi_next_dist_compiled_1w15bhds8i16h._.js",
|
||||
"static/chunks/1cpi_next_dist_client_16ymzkd_xoq12._.js",
|
||||
"static/chunks/1cpi_next_dist_0olwpokihy_g3._.js",
|
||||
"static/chunks/0zix_@swc_helpers_cjs_1fie0-s7m60gu._.js",
|
||||
"static/chunks/_1anvha4rlo79g._.js",
|
||||
"static/chunks/turbopack-_1ajtdyja1k2v5._.js",
|
||||
"static/chunks/_0sf-lmfgdqib-._.js"
|
||||
]
|
||||
},
|
||||
"pagesChunkGroupBootstrapParams": {},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"previewModeId": "12fbe0e07247508245722a1e7567ba40",
|
||||
"previewModeSigningKey": "9ac26cfa2e3907d855e0ca60c7d10c05b24a759439e26c13c0dcd0b8ee99cc12",
|
||||
"previewModeEncryptionKey": "67deec06835307e4c35f71f714aa0b0357e83f1c879376ccab16949f37d9df18"
|
||||
"previewModeId": "1ace45a9e9ff5bdda286ab3c115e384d",
|
||||
"previewModeSigningKey": "8a622b49c65bb802da902ea0bc6a47282208ad34c8257372dcbc84407a4dc34f",
|
||||
"previewModeEncryptionKey": "0ba0651184938afa9cdd391eb741dff7ef53527159bc524294e1566432c5b102"
|
||||
}
|
||||
Reference in New Issue
Block a user