fix cors error on watch

This commit is contained in:
2024-07-14 23:47:31 -04:00
parent bcdb128136
commit 9b80cb5062
+1 -1
View File
@@ -27,7 +27,7 @@ export default function RecentWatch() {
const [ errorState, setErrorState ] = useState<string>(""); const [ errorState, setErrorState ] = useState<string>("");
useEffect(() => { useEffect(() => {
fetch("https://watch.alexav.gg/api/trpc/watchItem.getLatest", { fetch("https://watch-cors.alexav.gg", {
method: 'get' method: 'get'
}) })
.then(async (res) => { .then(async (res) => {