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

Update html/search.ejs

This commit is contained in:
ashley 2025-04-22 23:55:06 +00:00
parent 3f19854798
commit afa738f8c2

View file

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