Update stream url.

This commit is contained in:
Dillon Kearns 2021-04-20 20:11:26 -07:00
parent f6b87947ea
commit fd852d9b8b
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ let updateAppContentJson = new Promise((resolve, reject) => resolve(() => {}));
function connect(sendContentJsonPort) {
// Listen for the server to tell us that an HMR update is available
eventSource = new EventSource("stream");
eventSource = new EventSource("/stream");
eventSource.onmessage = async function (evt) {
showCompiling("");
if (evt.data === "content.json") {

View File

@ -6,7 +6,7 @@ let updateAppContentJson = new Promise((resolve, reject) => resolve(() => {}));
function connect(sendContentJsonPort) {
// Listen for the server to tell us that an HMR update is available
eventSource = new EventSource("stream");
eventSource = new EventSource("/stream");
eventSource.onmessage = async function (evt) {
showCompiling("");
if (evt.data === "content.json") {