hqasmei / site-muse

An open-source tool for developers and designers to manage bookmarks and streamline research and inspiration.
https://sitemuse.co
GNU General Public License v3.0
39 stars 5 forks source link

create link working in dev, not in prod #4

Closed hqasmei closed 12 months ago

prabincankod commented 1 year ago

lemme check!!

prabincankod commented 1 year ago

i was about to suggest to suggest the same thing, using timeout in axios request

prabincankod commented 1 year ago

@hqasmei which api screenshot api service are you using ?

hqasmei commented 1 year ago

using https://3.screeenly.com/.

One issue was the execution time, was over 10s. so i upgraded to pro in vercel. It's still failing but for another reason now, trying to figure out where. its not processing the promise of where im uploading using upload thing.

prabincankod commented 1 year ago

i want to fix this issue.

hqasmei commented 1 year ago

Ah I think I know what the issue is. So uploadthing needs node 18.17. Vercel uses 18.12. So the upload can't complete. Locally my machine uses 18.17 so that is why it completes. I dont believe vercel lets you change the node version. Might have to use cloudinary instead of uplaodthing for now.

prabincankod commented 1 year ago

@hqasmei creating link on desktop type works . https://site-muse.vercel.app/

hqasmei commented 1 year ago

Screenshot 2023-09-12 at 3 36 19 PM

hqasmei commented 1 year ago

i keep getting this error, even with the link you shared. It was working before which is weird i dont know where this error is coming from.

prabincankod commented 1 year ago

i guess that is coming from create link modal

prabincankod commented 1 year ago

@hqasmei desktop works now.

https://github.com/hqasmei/site-muse/assets/42871240/15ec7b37-cd31-4b7c-a21f-173bc8cc615e

prabincankod commented 1 year ago

Refs #5 i am close to resolving the whole issue

hqasmei commented 1 year ago

Even after merging I still get the error. What did you do to get the above to work?

prabincankod commented 1 year ago

lets chat over this on discord.

hqasmei commented 12 months ago

The issue was the env in vercel