From a74b258458f91fbfa0826ff37e984fb75735889e Mon Sep 17 00:00:00 2001 From: swordfest Date: Tue, 16 Jul 2024 23:58:35 -0400 Subject: [PATCH] update subscription links --- components/shadowsocksSubs.tsx | 5 +++-- components/v2raySubs.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/shadowsocksSubs.tsx b/components/shadowsocksSubs.tsx index daff966..e14489b 100644 --- a/components/shadowsocksSubs.tsx +++ b/components/shadowsocksSubs.tsx @@ -1,4 +1,5 @@ import { useState } from "react"; +import { rootUrl } from "../vars/variables"; export default function ShadowsockSubs() { const [copyLink, setCopyLink] = useState(false); @@ -17,7 +18,7 @@ export default function ShadowsockSubs() { { navigator.clipboard.writeText( - "https://shadowmere.akiel.dev/api/sub" + `${rootUrl}/api/sub` ); setCopyLink(true); setTimeout(() => { @@ -25,7 +26,7 @@ export default function ShadowsockSubs() { }, 1000); }} className=" group text-[#579eff] cursor-pointer font-bold hover:text-[#467ecc] transition-colors after:pl-1 dark:after:text-[#7a7a7a] after:text-[#c1c1c1] after:font-awesome after:text-sm "> - https://shadowmere.akiel.dev/api/sub{" "} + https://shadowmere.xyz/api/sub{" "} - https://shadowmere.akiel.dev/api/b64sub/  + https://shadowmere.xyz/api/b64sub/  Tutorial video