Merge pull request #184 from NebulaServices/main

Fix dev -> main workflow
This commit is contained in:
Cohen Erickson 2023-12-28 13:43:37 -06:00 committed by GitHub
commit 2ea3f4e0f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -14,7 +14,10 @@ export function Home() {
"/go/" + "/go/" +
encodeURIComponent( encodeURIComponent(
//@ts-ignore //@ts-ignore
enc(inputValue, "295E1389FED4F2187D992178A53F9").substring(10) enc(
inputValue,
window.location.origin.slice(8) + navigator.userAgent
).substring(10)
); );
}; };

View file

@ -28,7 +28,7 @@ export function ProxyFrame(props: { url: string }) {
//@ts-ignore //@ts-ignore
let decodedUrl = dec( let decodedUrl = dec(
"U2FsdGVkX1" + decodeURIComponent(props.url), "U2FsdGVkX1" + decodeURIComponent(props.url),
"295E1389FED4F2187D992178A53F9" window.location.origin.slice(8) + navigator.userAgent
); );
//attempt to convert to a valid url //attempt to convert to a valid url
decodedUrl = searchUtil(decodedUrl, searchEngine); decodedUrl = searchUtil(decodedUrl, searchEngine);