Create constants.js

This commit is contained in:
foxster-mp4
2023-08-14 19:54:25 -07:00
parent 0600fea618
commit 4c0a10419b
8 changed files with 23 additions and 11 deletions

View File

@@ -6,7 +6,8 @@
// MIT License.
//
import { urlSearchParams, sourceURL, isValidHTTPURL } from "./utilities.js";
import { urlSearchParams, sourceURL } from "./constants.js";
import { isValidHTTPURL } from "./utilities.js";
(function main() {
const success = url => window.location.replace(`index.html?source=${url}`);