GCP Functions. Включить CORS - nagaevkirill/WIKI GitHub Wiki

В начале функции прописать

res.set(‘Access-Control-Allow-Origin’, ‘*’);

http://joxi.ru/5mdxyvqcaaK9Lm

https://cloud.google.com/functions/docs/writing/http#handling_cors_requests

⚠️ **GitHub.com Fallback** ⚠️