Thread

No description
27 Replies
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
It looks like you are getting a 500 error on your option request. I would check your wrangler logs for that
cross
cross•14mo ago
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
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
How are you testing it locally if you aren't using wrangler
cross
cross•14mo ago
No description
cross
cross•14mo ago
from vs code web server
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Log from Workers · Cloudflare Workers docs
You can access logs and exceptions for your Workers using the dashboard or wrangler tail.
cross
cross•14mo ago
does it usually take this long? 😅
No description
cross
cross•14mo ago
still loading
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
You need to make a request once it starts
cross
cross•14mo ago
alright
cross
cross•14mo ago
No description
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Go through the full process of it making an options request
cross
cross•14mo ago
i did
cross
cross•14mo ago
No description
cross
cross•14mo ago
No description
cross
cross•14mo ago
The error message changed will change to allow options request now and check again no errors Salutee you @cyb3rjak3 no cors error anymore but i have another question
cross
cross•14mo ago
No description
cross
cross•14mo ago
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?
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Check console logs maybe to see if there are errors
cross
cross•14mo ago
no errors now
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Console logs in the browser
cross
cross•14mo ago
yeah i meant that 😅
No description
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Seems like it might just be a rendering thing with the vscode server
cross
cross•14mo ago
okay i'll try to deploy it with pages to test, thnx
cross
cross•14mo ago
No description
cross
cross•14mo ago
same thing psystressed
Cyb3r-Jak3
Cyb3r-Jak3•14mo ago
Maybe something with how the image data is being returned but don't know enough about image data responses
Want results from more Discord servers?
Add your server