fix: share url reverted to original url

This commit is contained in:
Timothy J. Baek committed 2023-12-15 13:54:25 -08:00
1 parent 6c2cab25b1
commit be12461aa2
1 file changed
+2 -2
+2 -2
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(