mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Changed to use cloud hosted streams.json
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user