Crystal Shardz
CDCloudflare Developers
•Created by Crystal Shardz on 8/8/2024 in #pages-help
Pages CORS issue when communicating with Llama API
Looks like a solution was found by a colleague of mine. Instead of querying Llama's API directly from the Pages JAvascript, we used a worker instead as a middle man to send the response from our front end to Llama and then back to the front end.
2 replies