Enabling CORS in Cloud Functions for Firebase - Ionic Angular Firebase Error
问题 Im trying to get an array of posts from firebase database and show them in my feed page, but i get an error about something enabling cors and whatnot. Im new to Ionic, Firebase and Angular so any detailed help will be a lot appereciated This is the functions of firebase code import * as functions from 'firebase-functions'; import * as admin from 'firebase-admin' const express = require('express'); const cors = require('cors'); const docs = express(); docs.use(cors({ origin: true })); admin