Update index.js

This commit is contained in:
foxster-mp4
2023-11-24 18:05:56 -08:00
parent 03275b1af1
commit 315bcc4a23

View File

@@ -28,7 +28,7 @@ const { default: sources } = await import("./common/assets/sources.json", { asse
const sourceURL = textField.value; const sourceURL = textField.value;
if (!isValidHTTPURL(sourceURL)) if (!isValidHTTPURL(sourceURL))
alert("Invalid HTTP URL."); alert("Invalid HTTP URL.");
else open((`./view/?source=${sourceURL}`)) else open(`./view/?source=${sourceURL}`);
} }
}); });