main #110
|
@ -13,7 +13,7 @@ export default function GenerateLink({ params }) {
|
|||
useEffect(() => {
|
||||
var QRCode = require("qrcode");
|
||||
QRCode.toDataURL(
|
||||
`https://tiefen.fun/${params.user_id}`,
|
||||
`https://www.tiefen.fun/${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://www.tiefen.fun/${params.user_id}`,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
@ -14,7 +14,7 @@ export default function Purchased() {
|
|||
useEffect(() => {
|
||||
const prepare = async () => {
|
||||
if (window.location.origin === "https://shop.tiefen.fun") {
|
||||
router.replace("https://tiefen.fun/purchased");
|
||||
router.replace("https://www.tiefen.fun/purchased");
|
||||
return;
|
||||
}
|
||||
const isLogined = await checkAuth();
|
||||
|
|
|
@ -14,7 +14,7 @@ export default function StreamerDetail({ params }) {
|
|||
useEffect(() => {
|
||||
var QRCode = require("qrcode");
|
||||
QRCode.toDataURL(
|
||||
`https://tiefen.fun/${params.user_id}`,
|
||||
`https://www.tiefen.fun/${params.user_id}`,
|
||||
function (err, url) {
|
||||
setQrcodeUrl(url);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ export default function Share({ params }) {
|
|||
//获取页面数据、生成二维码
|
||||
const [data, setData] = 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);
|
||||
|
||||
function generateRandomString(length = 10) {
|
||||
|
@ -148,7 +148,7 @@ export default function Share({ params }) {
|
|||
<span className="whitespace-nowrap">铁粉空间</span>
|
||||
</div>
|
||||
<span className="text-[#ffffff80] whitespace-nowrap">
|
||||
|官网:tiefen.fun
|
||||
|官网:tiefen.space
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue