Access-Control-Allow-Origin Error when trying to add open graph meta tags dynamically via Firebase functions
问题 I'm trying to add open graph meta tags dynamically to my index.html using firebase functions. I'm following this tutorial but because I'd like to allow users to share on their facebook I need to add open graph meta tags on-demand when user wants to share content. So, it seems to me that running the function via rewrite in firebase.json is not best solution here and I'd like to call the function when user wants to share content to Facebook. I try to use CORS but it seems I get the "Access