更改域名为tiefen.space
This commit is contained in:
parent
c5dbb6794c
commit
e6a2690d76
|
@ -68,9 +68,9 @@ export default function WechatBar({ price, streamerMid, onClickDownloadApp }) {
|
|||
break;
|
||||
case "wxpay_h5":
|
||||
router.push(
|
||||
`https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
|
||||
`https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
|
||||
temData.data.wxpay_h5_param_str +
|
||||
"&redirect_url=https%3A%2F%2Fshop.tiefen.fun%2Fpurchased"
|
||||
"&redirect_url=https%3A%2F%2Fshop.tiefen.space%2Fpurchased"
|
||||
)}`
|
||||
);
|
||||
break;
|
||||
|
|
|
@ -158,7 +158,7 @@ export default function Download({ params }) {
|
|||
{deviceType === "pc" && (
|
||||
<div className="flex flex-row gap-20">
|
||||
<a
|
||||
href="https://filecdntx01.tiefen.fun/appdownload/ironfans1.5.2.apk"
|
||||
href="https://filecdntx01.tiefen.space/appdownload/ironfans1.5.2.apk"
|
||||
className="group relative cursor-pointer w-20 h-20 rounded-full bg-[#FFFFFF1A]"
|
||||
>
|
||||
<p className="group-hover:opacity-100 opacity-0 transition-all duration-300 absolute flex w-full h-full items-center justify-center text-white text-xs">
|
||||
|
|
|
@ -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}`,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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}`,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}}
|
||||
>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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`
|
||||
);
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -17,6 +17,6 @@ export default function robots() {
|
|||
"/withdrawal/",
|
||||
],
|
||||
},
|
||||
sitemap: "https://tiefen.fun/sitemap.xml",
|
||||
sitemap: "https://tiefen.space/sitemap.xml",
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export default function sitemap() {
|
||||
return [
|
||||
{
|
||||
url: "https://tiefen.fun",
|
||||
url: "https://tiefen.space",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 1,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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}`
|
||||
),
|
||||
},
|
||||
],
|
||||
|
|
|
@ -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}`
|
||||
),
|
||||
},
|
||||
],
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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*",
|
||||
},
|
||||
];
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue