I am trying to push an image to appwrite storage bucket from vscode WebView (which under the hood uses html/css and js inside an iframe origin) but my request is getting rejected. It did be great if anyone helps us. Thanks
I found that for some reason my origin/request is blocked or rejected. Though all the key's are correct
- Have you added the platform for this implementation?
- I'm not sure, but does the endpoint need to be a
vscode-webview? As far as I know, the endpoint is supposed to be the URL of your appwrite instance.
Thanks for replying sadwan but @Meldiron as resolved my issue. It was related to cors as I have not linked my extension to apperite dashboard by giving the url.
What exactly did you do? You added a web platform? And what did you put as the hostname? The VSCode extension ID?
[SOLVED] Building VS Code Extension + Appwrite
Hey @Steven I had just added * as hostname
I tried with vs code extension id but it was not working. It was rejecting my origin
interesting...thanks for the insight!
Recommended threads
- Anyone manage to get a slack-bot working...
I'm trying to setup a bot the send and retrieve slack messages to a chat in my site. I've failed with SSE and appwrite functions soo far... i'll trying polling ...
- restore backup on another server with an...
I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project w...
- [Sites] Deployment finished but site is ...
The deployment finished and is active but the site shows timeout error.