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);
toast.success('Redirecting you to OllamaHub');
// const url = 'https://ollamahub.com';
const url = 'http://localhost:5173';
const url = 'https://ollamahub.com';
// const url = 'http://localhost:5173';
const tab = await window.open(`${url}/chats/upload`, '_blank');
window.addEventListener(