mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -28,7 +28,7 @@ const { default: sources } = await import("./common/assets/sources.json", { asse
|
||||
const sourceURL = textField.value;
|
||||
if (!isValidHTTPURL(sourceURL))
|
||||
alert("Invalid HTTP URL.");
|
||||
else open((`./view/?source=${sourceURL}`))
|
||||
else open(`./view/?source=${sourceURL}`);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user