mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
commit
2cab377e83
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue