Changed to use cloud hosted streams.json

This commit is contained in:
Koper
2023-12-05 00:11:02 +07:00
parent 8178f45a9a
commit 702dd5968b
2 changed files with 1 additions and 10295 deletions

View File

@@ -43,7 +43,7 @@ const ShareModal = (props: ShareModal) => {
const [streams, setStreams] = useState<Stream[]>([]);
useEffect(() => {
fetch("/streams.json")
fetch(process.env.NEXT_PUBLIC_ZULIIPSTREAMS_HOSTNAME + "/streams.json")
.then((response) => {
if (!response.ok) {
throw new Error("Network response was not ok");