Fix Cyclone loading

How did this get messed up in the first place?
This commit is contained in:
CountBleck 2022-10-08 17:50:38 -07:00
parent d7bd26b4b7
commit 353fc106b4
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ function insertScript(html) {
var res = `<!DOCTYPE html>
<html>
<head>
<script preload src="/cyclone.js"></script>
<script preload src="/cyclone/cyclone.js"></script>
</head>
<body>
${html}

View file

@ -160,7 +160,7 @@ scope: '/service/'
let url = value.trim();
if (!isUrl(url)) url = 'www.google.com/search?q=' + url;
if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'http://' + url;
let redirectTo = '/cyclone/' + url;
let redirectTo = '/service/next/' + url;
const option = localStorage.getItem('nogg');
if (option === 'on') {