mirror of
https://github.com/cupcakearmy/blaze.git
synced 2024-12-22 16:26:26 +00:00
Remove localhost
This commit is contained in:
parent
d930272730
commit
869585ae29
2
index.ts
2
index.ts
@ -53,7 +53,7 @@ app.get("/", (req, res) => {
|
|||||||
const hrefArray = result.querySelector('.result__snippet')?.getAttribute('href')?.split('')
|
const hrefArray = result.querySelector('.result__snippet')?.getAttribute('href')?.split('')
|
||||||
hrefArray?.splice(0,25)
|
hrefArray?.splice(0,25)
|
||||||
const cleanHref = hrefArray?.join('')
|
const cleanHref = hrefArray?.join('')
|
||||||
const newHref = `http://localhost:8888/blazed?url=${cleanHref}`
|
const newHref = `https://ill-red-skunk-wig.cyclic.app/blazed?url=${cleanHref}`;
|
||||||
result.querySelector('.result__snippet')?.setAttribute('href', newHref)
|
result.querySelector('.result__snippet')?.setAttribute('href', newHref)
|
||||||
result.querySelector('.result__url')?.setAttribute('href', newHref)
|
result.querySelector('.result__url')?.setAttribute('href', newHref)
|
||||||
result.querySelector('.result__a')?.setAttribute('href', newHref)
|
result.querySelector('.result__a')?.setAttribute('href', newHref)
|
||||||
|
Loading…
Reference in New Issue
Block a user