jeudi 13 juillet 2017

Config file not connecting to Firebase

I am new to Ember and am having a bit of trouble connecting to my Firebase database. I installed emberfire and then updated the environment file in config to:

let ENV = {
    modulePrefix: 'todolist',
    environment,
    contentSecurityPolicy: {'connect-src': "'self' http://ift.tt/1Us4oBa"},
    firebase: 'http://ift.tt/2ueYyAY',
    rootURL: '/',
    locationType: 'auto',
    EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      },

But when I try to run an action I get an error stating 'Please set the firebase property in your environment config.' Am I missing something? thanks in advance.




Aucun commentaire:

Enregistrer un commentaire