1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-06-07 17:33:01 -04:00

Update html/search.ejs

This commit is contained in:
ashley 2025-04-22 23:54:03 +00:00
parent 6801889f64
commit 3f19854798

View file

@ -1058,7 +1058,7 @@ function extractQueryFromUpsellMessage(message) {
askBtn.addEventListener('click', () => { askBtn.addEventListener('click', () => {
const userQuery = prompt('What would you like to ask ChatGPT?'); const userQuery = prompt('What would you like to ask ChatGPT?');
if (userQuery) { if (userQuery) {
window.location.href = `/chat?query=${encodeURIComponent(userQuery)}`; window.location.href = `https://chatgpt.com/chat?query=${encodeURIComponent(userQuery)}`;
} }
}); });
})(); })();