Skip to content

Commit

Permalink
update subscription links
Browse files Browse the repository at this point in the history
  • Loading branch information
swordfest committed Jul 17, 2024
1 parent 3c3178b commit a74b258
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions components/shadowsocksSubs.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState } from "react";
import { rootUrl } from "../vars/variables";

export default function ShadowsockSubs() {
const [copyLink, setCopyLink] = useState(false);
Expand All @@ -17,15 +18,15 @@ export default function ShadowsockSubs() {
<span
onClick={() => {
navigator.clipboard.writeText(
"https://shadowmere.akiel.dev/api/sub"
`${rootUrl}/api/sub`
);
setCopyLink(true);
setTimeout(() => {
setCopyLink(false);
}, 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{" "}
<span
className={
"font-semibold text-[#c1c1c1] dark:text-[#7a7a7a] " +
Expand Down
4 changes: 2 additions & 2 deletions components/v2raySubs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function V2raySubs() {
}}
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/b64sub/ 
https://shadowmere.xyz/api/b64sub/ 
<span
className={
"font-semibold text-[#c1c1c1] dark:text-[#7a7a7a] " +
Expand All @@ -52,7 +52,7 @@ export default function V2raySubs() {
<h2 className="font-bold">Tutorial video</h2>
<iframe
className="w-full h-[640px] rounded-lg"
src="https://www.youtube.com/embed/YvQjOExb4no"
src="https://youtube.com/shorts/dvt_zKRHu2E?si=NMqFFzpSWsAokSys"
title="Set up shadowsocks subscription from Shadowmere"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
Expand Down

0 comments on commit a74b258

Please sign in to comment.