how to upload image in next js without cors error using appwrite. I am sending image via jsx element but now in production i want to create a new api route can anyone help me
If yhe action is done on the client side of nextjs then you'll need to add your app URL as Web platfrom in the Appwrite console
Did you did that?
wait let me see
where sould i use it exactly
i have deploye the code to vercel
In the console in the overview page. You'll see an option to add platform. Add web and in the host put the frontend domain
Appwrite console
is this ok
Yes
Recommended threads
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Update row sheet not loading
After right clicking a row header and click update, the sidebar fails to load (never-ending skeleton)