diff --git a/app/generatelink/[user_id]/page.jsx b/app/generatelink/[user_id]/page.jsx
index de56d90..3c10d54 100644
--- a/app/generatelink/[user_id]/page.jsx
+++ b/app/generatelink/[user_id]/page.jsx
@@ -13,7 +13,7 @@ export default function GenerateLink({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
- `https://tiefen.fun/${params.user_id}`,
+ `https://tiefen.space/${params.user_id}`,
function (err, url) {
setQrcodeUrl(url);
}
@@ -91,7 +91,7 @@ export default function GenerateLink({ params }) {
window.ReactNativeWebView.postMessage(
JSON.stringify({
type: "COPY_URL",
- data: `https://tiefen.fun/${params.user_id}`,
+ data: `https://tiefen.space/${params.user_id}`,
})
);
};
diff --git a/app/invite/[user_id]/page.jsx b/app/invite/[user_id]/page.jsx
index 3374b1c..7f58440 100644
--- a/app/invite/[user_id]/page.jsx
+++ b/app/invite/[user_id]/page.jsx
@@ -87,7 +87,7 @@ export default function Invite({ params }) {
};
getData();
var QRCode = require("qrcode");
- QRCode.toDataURL("https://tiefen.fun", function (err, url) {
+ QRCode.toDataURL("https://tiefen.space", function (err, url) {
setQrcodeUrl(url);
});
}, []);
@@ -170,7 +170,7 @@ export default function Invite({ params }) {
window.ReactNativeWebView.postMessage(
JSON.stringify({
type: "COPY_URL",
- data: `https://tiefen.fun/${params.user_id}`,
+ data: `https://tiefen.space/${params.user_id}`,
})
);
};
diff --git a/app/page.jsx b/app/page.jsx
index 16265d1..d19ac72 100644
--- a/app/page.jsx
+++ b/app/page.jsx
@@ -206,7 +206,7 @@ export default function Home() {
className={`btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14`}
onClick={() => {
const inviter = getCookie("inviter");
- const url = `https://app.tiefen.fun?inviter=${inviter}`;
+ const url = `https://app.tiefen.space?inviter=${inviter}`;
window.location.href = url;
}}
>
diff --git a/app/pay/[weixin]/page.jsx b/app/pay/[weixin]/page.jsx
index 7fc3649..cc7f6b0 100644
--- a/app/pay/[weixin]/page.jsx
+++ b/app/pay/[weixin]/page.jsx
@@ -12,7 +12,7 @@ export default function Weixin({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
- `https://tiefen.fun/pay/jsapi/${params.weixin}`,
+ `https://tiefen.space/pay/jsapi/${params.weixin}`,
function (err, url) {
setQrcodeUrl(url);
}
diff --git a/app/pay/jsapi/[body]/page.jsx b/app/pay/jsapi/[body]/page.jsx
index a5ca633..2b83997 100644
--- a/app/pay/jsapi/[body]/page.jsx
+++ b/app/pay/jsapi/[body]/page.jsx
@@ -6,7 +6,7 @@ import { useRouter } from "next/navigation";
export default function JsApi({ params }) {
const router = useRouter();
useEffect(() => {
- const redirect_uri = `https://tiefen.fun/pay/inweixin/${params.body}`;
+ const redirect_uri = `https://tiefen.space/pay/inweixin/${params.body}`;
router.replace(
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc28fd8aaf31984b6&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`
);
diff --git a/app/pay/page.jsx b/app/pay/page.jsx
index 56da298..3c4f073 100644
--- a/app/pay/page.jsx
+++ b/app/pay/page.jsx
@@ -155,7 +155,7 @@ export default function Pay() {
break;
case "wxpay_h5":
router.push(
- `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
+ `https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);
diff --git a/app/purchased/page.jsx b/app/purchased/page.jsx
index 5f5ee39..945e3d3 100644
--- a/app/purchased/page.jsx
+++ b/app/purchased/page.jsx
@@ -13,8 +13,8 @@ export default function Purchased() {
const router = useRouter();
useEffect(() => {
const prepare = async () => {
- if (window.location.origin === "https://shop.tiefen.fun") {
- router.replace("https://tiefen.fun/purchased");
+ if (window.location.origin === "https://shop.tiefen.space") {
+ router.replace("https://tiefen.space/purchased");
return;
}
const isLogined = await checkAuth();
diff --git a/app/robots.js b/app/robots.js
index e661d95..5b2c16c 100644
--- a/app/robots.js
+++ b/app/robots.js
@@ -17,6 +17,6 @@ export default function robots() {
"/withdrawal/",
],
},
- sitemap: "https://tiefen.fun/sitemap.xml",
+ sitemap: "https://tiefen.space/sitemap.xml",
};
}
diff --git a/app/sitemap.js b/app/sitemap.js
index 196c980..abcbaac 100644
--- a/app/sitemap.js
+++ b/app/sitemap.js
@@ -1,7 +1,7 @@
export default function sitemap() {
return [
{
- url: "https://tiefen.fun",
+ url: "https://tiefen.space",
lastModified: new Date(),
changeFrequency: "weekly",
priority: 1,
diff --git a/app/tool/[user_id]/page.jsx b/app/tool/[user_id]/page.jsx
index 68f93b0..43cc90d 100644
--- a/app/tool/[user_id]/page.jsx
+++ b/app/tool/[user_id]/page.jsx
@@ -14,7 +14,7 @@ export default function StreamerDetail({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
- `https://tiefen.fun/${params.user_id}`,
+ `https://tiefen.space/${params.user_id}`,
function (err, url) {
setQrcodeUrl(url);
}
diff --git a/app/vip/page.jsx b/app/vip/page.jsx
index 73f1f6d..90b8712 100644
--- a/app/vip/page.jsx
+++ b/app/vip/page.jsx
@@ -125,7 +125,7 @@ export default function Vip() {
break;
case "wxpay_h5":
router.push(
- `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
+ `https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);
diff --git a/app/zone/[user_id]/[any]/page.jsx b/app/zone/[user_id]/[any]/page.jsx
index 626d5f4..9fc6b40 100644
--- a/app/zone/[user_id]/[any]/page.jsx
+++ b/app/zone/[user_id]/[any]/page.jsx
@@ -84,7 +84,7 @@ export default function Zone({ params }) {
text: "手机网页版",
onClick: () =>
router.push(
- `https://app.tiefen.fun?inviter=${data?.streamer_ext?.user_id}`
+ `https://app.tiefen.space?inviter=${data?.streamer_ext?.user_id}`
),
},
],
diff --git a/app/zone/[user_id]/page.jsx b/app/zone/[user_id]/page.jsx
index 626d5f4..9fc6b40 100644
--- a/app/zone/[user_id]/page.jsx
+++ b/app/zone/[user_id]/page.jsx
@@ -84,7 +84,7 @@ export default function Zone({ params }) {
text: "手机网页版",
onClick: () =>
router.push(
- `https://app.tiefen.fun?inviter=${data?.streamer_ext?.user_id}`
+ `https://app.tiefen.space?inviter=${data?.streamer_ext?.user_id}`
),
},
],
diff --git a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx
index a9bb355..86abaab 100644
--- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx
+++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx
@@ -158,7 +158,7 @@ export default function Pay({ params }) {
break;
case "wxpay_h5":
router.push(
- `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
+ `https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);
diff --git a/next.config.js b/next.config.js
index bdac122..11474d6 100644
--- a/next.config.js
+++ b/next.config.js
@@ -4,11 +4,11 @@ const nextConfig = {
return [
{
source: "/api/:path*",
- destination: "https://api.tiefen.fun/api/:path*",
+ destination: "https://api.tiefen.space/api/:path*",
},
{
source: "/cors/:path*",
- destination: "https://file.tiefen.fun/:path*",
+ destination: "https://file.tiefen.space/:path*",
},
];
},