Remove localhost

This commit is contained in:
Danny Spina 2023-06-19 12:09:21 +02:00
parent d930272730
commit 869585ae29

View File

@ -53,7 +53,7 @@ app.get("/", (req, res) => {
const hrefArray = result.querySelector('.result__snippet')?.getAttribute('href')?.split('')
hrefArray?.splice(0,25)
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__url')?.setAttribute('href', newHref)
result.querySelector('.result__a')?.setAttribute('href', newHref)