Skip to content
Back

can I access functions externally?

  • 0
  • Functions
Alex Bourg
6 Apr, 2024, 18:34

Hi, I created a starter function, it's available on this domain: https://6611931e24e45c8e6947.cms.itexpertnow.com when I access it externally, it doesn't work... but when I deployed it from https://cms.itexpertnow.com it works ok... is this is how it's support to work?

TL;DR
Developers wondering if they can access functions externally on a specific domain. The function works when deployed internally but not externally. They are looking for guidance on whether this is expected behavior. Solution: The issue may be related to CORS (Cross-Origin Resource Sharing) restrictions. Enable CORS on the server hosting the function to allow external access.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more