fix: share url reverted to original url

This commit is contained in:
Timothy J. Baek 2023-12-15 13:54:25 -08:00
parent 6c2cab25b1
commit be12461aa2

View file

@ -13,8 +13,8 @@
console.log('share', chat); console.log('share', chat);
toast.success('Redirecting you to OllamaHub'); toast.success('Redirecting you to OllamaHub');
// const url = 'https://ollamahub.com'; const url = 'https://ollamahub.com';
const url = 'http://localhost:5173'; // const url = 'http://localhost:5173';
const tab = await window.open(`${url}/chats/upload`, '_blank'); const tab = await window.open(`${url}/chats/upload`, '_blank');
window.addEventListener( window.addEventListener(