maybe it works now?

This commit is contained in:
Boof 2023-08-23 14:34:32 +02:00 committed by GitHub
parent a041f97dab
commit 42ee4a1967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,5 +5,8 @@ var c = url.searchParams.get("url");
// Check that there is something there otherwhise it will get stuck in a loop
if(c) {
window.location = (c)
if (c.startsWith("http://") || c.startsWith("https://")) {
c = "https://" + c
}
window.location = (c)
}