Skip to content
Back

[SOLVED] Static Astro Build on GitHub Pages CORS Issue in Appwrite SDK

  • 0
  • Self Hosted
  • Web
ZachHandley
12 Nov, 2023, 01:52

So I'm getting a CORS error on my build, but it doesn't make any sense. I've added my page (Upswing Payments ) as an additional Web SDK, and it is saying that the access-control-allow-origin is still https://localhost so I'm pretty confused as to what's going on -- any advice is appreciated

TL;DR
The user had a CORS issue on their static Astro build on GitHub Pages with the Appwrite SDK. They added their page as an additional Web SDK, but the access-control-allow-origin was still showing as `https://localhost`. They were seeking advice on how to resolve this issue. The thread ends with the user stating they corrected the issue but needed to check again when they got home.
Drake
12 Nov, 2023, 02:10

What exactly did you add?

ZachHandley
12 Nov, 2023, 02:24

zachhandley.github.io*

ZachHandley
12 Nov, 2023, 02:24

I made it more specific after

Drake
12 Nov, 2023, 02:26

This is exactly what you added to Appwrite? If so, can you remove the trailing *?

ZachHandley
12 Nov, 2023, 02:30

I corrected it but I’m on mobile, I’ll check again when I get home

ZachHandley
13 Nov, 2023, 18:46

[SOLVED] Static Astro Build on GitHub Pages CORS Issue in Appwrite SDK

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