更改域名为www.tiefen.fun
This commit is contained in:
parent
dd4761a74a
commit
b6c27b5be8
|
@ -13,7 +13,7 @@ export default function GenerateLink({ params }) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
var QRCode = require("qrcode");
|
var QRCode = require("qrcode");
|
||||||
QRCode.toDataURL(
|
QRCode.toDataURL(
|
||||||
`https://tiefen.fun/${params.user_id}`,
|
`https://www.tiefen.fun/${params.user_id}`,
|
||||||
function (err, url) {
|
function (err, url) {
|
||||||
setQrcodeUrl(url);
|
setQrcodeUrl(url);
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ export default function GenerateLink({ params }) {
|
||||||
window.ReactNativeWebView.postMessage(
|
window.ReactNativeWebView.postMessage(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: "COPY_URL",
|
type: "COPY_URL",
|
||||||
data: `https://tiefen.fun/${params.user_id}`,
|
data: `https://www.tiefen.fun/${params.user_id}`,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default function Purchased() {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const prepare = async () => {
|
const prepare = async () => {
|
||||||
if (window.location.origin === "https://shop.tiefen.fun") {
|
if (window.location.origin === "https://shop.tiefen.fun") {
|
||||||
router.replace("https://tiefen.fun/purchased");
|
router.replace("https://www.tiefen.fun/purchased");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const isLogined = await checkAuth();
|
const isLogined = await checkAuth();
|
||||||
|
|
|
@ -17,6 +17,6 @@ export default function robots() {
|
||||||
"/withdrawal/",
|
"/withdrawal/",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
sitemap: "https://tiefen.fun/sitemap.xml",
|
sitemap: "https://www.tiefen.fun/sitemap.xml",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export default function sitemap() {
|
export default function sitemap() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
url: "https://tiefen.fun",
|
url: "https://www.tiefen.fun",
|
||||||
lastModified: new Date(),
|
lastModified: new Date(),
|
||||||
changeFrequency: "weekly",
|
changeFrequency: "weekly",
|
||||||
priority: 1,
|
priority: 1,
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default function StreamerDetail({ params }) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
var QRCode = require("qrcode");
|
var QRCode = require("qrcode");
|
||||||
QRCode.toDataURL(
|
QRCode.toDataURL(
|
||||||
`https://tiefen.fun/${params.user_id}`,
|
`https://www.tiefen.fun/${params.user_id}`,
|
||||||
function (err, url) {
|
function (err, url) {
|
||||||
setQrcodeUrl(url);
|
setQrcodeUrl(url);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ export default function Share({ params }) {
|
||||||
//获取页面数据、生成二维码
|
//获取页面数据、生成二维码
|
||||||
const [data, setData] = useState({});
|
const [data, setData] = useState({});
|
||||||
const [qrcodeUrl, setQrcodeUrl] = useState("");
|
const [qrcodeUrl, setQrcodeUrl] = useState("");
|
||||||
const [shareWebUrl, setShareWebUrl] = useState("https://tiefen.fun");
|
const [shareWebUrl, setShareWebUrl] = useState("https://www.tiefen.fun");
|
||||||
const [isFetching, setIsFetching] = useState(true);
|
const [isFetching, setIsFetching] = useState(true);
|
||||||
|
|
||||||
function generateRandomString(length = 10) {
|
function generateRandomString(length = 10) {
|
||||||
|
@ -148,7 +148,7 @@ export default function Share({ params }) {
|
||||||
<span className="whitespace-nowrap">铁粉空间</span>
|
<span className="whitespace-nowrap">铁粉空间</span>
|
||||||
</div>
|
</div>
|
||||||
<span className="text-[#ffffff80] whitespace-nowrap">
|
<span className="text-[#ffffff80] whitespace-nowrap">
|
||||||
|官网:tiefen.fun
|
|官网:tiefen.space
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue