We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f46d5 commit cdce5f1Copy full SHA for cdce5f1
src/pages/WatchLiveStream.js
@@ -101,7 +101,7 @@ const WatchLiveStream = () => {
101
// Gọi API để lấy thông tin stream
102
const fetchStreamInfo = async () => {
103
try {
104
- const response = await fetch(`http://192.168.120.213:15001/streams/get/${streamKey}`);
+ const response = await fetch(`${process.env.REACT_APP_API_CHAT}/streams/get/${streamKey}`);
105
if (!response.ok) {
106
throw new Error("Failed to fetch stream info");
107
}
0 commit comments