Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Apr 14, 2024
1 parent 4d221bb commit f2077b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/layout-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function Navbar() {
const [config] = useConfig("cloak");
const navigate = useNavigate();
useEffect(() => {
run(() => fetch("https://z1g-backend.vercel.app/api/apps", { wisp: true }));
run(() => fetch("https://api.z1g.top/api/apps", { wisp: true }));
}, []); // eslint-disable-line react-hooks/exhaustive-deps
useEffect(() => {
const down = (e: KeyboardEvent) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shortcut-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function ShortcutCarousel() {
run,
} = useAsync<Application[]>([]);
useEffect(() => {
run(() => fetch("https://z1g-backend.vercel.app/api/apps", { wisp: true }));
run(() => fetch("https://api.z1g.top/api/apps", { wisp: true }));
}, []); // eslint-disable-line react-hooks/exhaustive-deps
return (
<Carousel>
Expand Down
6 changes: 2 additions & 4 deletions src/layouts/main-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default function MainLayout() {
<TooltipTrigger asChild>
<Button variant="outline" size="icon" asChild>
<Link
to={`/view/${encoder.encode("https://z1g-project.vercel.app/docs")}`}
to={`/view/${encoder.encode("https://z1g.top/docs")}`}
>
<Book className="size-4" />
</Link>
Expand All @@ -157,9 +157,7 @@ export default function MainLayout() {
<Tooltip>
<TooltipTrigger asChild>
<Button variant="outline" size="icon" asChild>
<Link
to={`/view/${encoder.encode("https://z1g-project.vercel.app")}`}
>
<Link to={`/view/${encoder.encode("https://z1g.top")}`}>
<Globe className="size-4" />
</Link>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Apps() {
const listRef = useRef<HTMLDivElement>(null);

useEffect(() => {
run(() => fetch("https://z1g-backend.vercel.app/api/apps", { wisp: true }));
run(() => fetch("https://api.z1g.top/api/apps", { wisp: true }));
}, []); // eslint-disable-line react-hooks/exhaustive-deps

useEffect(() => {
Expand Down

0 comments on commit f2077b8

Please sign in to comment.