Skip to content

Commit ca0e820

Browse files
committed
Update docs for new subdomain
1 parent c4c724b commit ca0e820

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

client/pages/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { SPLITBEE_EVENTS } from "~/constants/common";
2121
<InfoCircledIcon />
2222
</Callout.Icon>
2323
<Callout.Text weight="medium">
24-
<Text>The Base URL (`BASE_URL`) for all API endpoint is: **`https://animechan.io/api/v1`**</Text>
24+
<Text>The Base URL (`BASE_URL`) for all API endpoint is: **`https://api.animechan.io/v1`**</Text>
2525
</Callout.Text>
2626
</Callout.Root>
2727
</div>

client/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { Button, Callout, Heading, Section, Text } from "@radix-ui/themes";
33
import Image from "next/image";
44
import { Element } from "react-scroll";
55
import stringifyObject from "stringify-object";
6+
import Layout from "~/components/Layout";
67
import CodeBlock from "~/components/codeblock";
78
import Faq from "~/components/faq";
8-
import Layout from "~/components/Layout";
99
import type { CodeBlock as CodeBlockType } from "~/types";
1010

1111
export default function Home() {
1212
const requestCodeBlock: CodeBlockType = {
1313
language: "javascript",
14-
snippet: `fetch('https://animechan.io/api/v1/quotes/random')
14+
snippet: `fetch('https://api.animechan.io/v1/quotes/random')
1515
.then(response => response.json())
1616
.then(quote => console.log(quote))`,
1717
};

client/todo.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)