27 Replies
It looks like you are getting a 500 error on your option request. I would check your wrangler logs for that
hey, thanks for answering
i am not using wrangler atm, just wrote the script from web interface then deployed and testing it locally with a simple html webpage
How are you testing it locally if you aren't using wrangler
from vs code web server
Try from the dashboard https://developers.cloudflare.com/workers/observability/log-from-workers/#view-logs-from-the-dashboard
Log from Workers · Cloudflare Workers docs
You can access logs and exceptions for your Workers using the dashboard or wrangler tail.
does it usually take this long? 😅
still loading
You need to make a request once it starts
alright
Go through the full process of it making an options request
i did
The error message changed
will change to allow options request now
and check again
no errors you @cyb3rjak3
no cors error anymore but i have another question
the script generates images but they can't be loaded
do you have any idea what can be done?
will i have to save images with KV?
Check console logs maybe to see if there are errors
no errors now
Console logs in the browser
yeah i meant that 😅
Seems like it might just be a rendering thing with the vscode server
okay i'll try to deploy it with pages to test, thnx
same thing
Maybe something with how the image data is being returned but don't know enough about image data responses