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', () => { 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 = `https://chatgpt.com/chat?query=${encodeURIComponent(userQuery)}`; window.location.href = `https://chatgpt.com/?q=${encodeURIComponent(userQuery)}`;
} }
}); });
})(); })();