Skip to content

Commit

Permalink
fix firebase plugin (#16)
Browse files Browse the repository at this point in the history
* fix firebase config

* remove console
  • Loading branch information
mrmarcondes authored and marcorojo committed Jan 13, 2020
1 parent acd386f commit 3daf0b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes
2 changes: 1 addition & 1 deletion pages/auth/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<v-col cols="12" sm="8" md="6">
<v-layout justify-center>
<v-img
src="minha-cc-logo.png"
:src="require('~/assets/images/minha-cc-logo.png')"
aspect-ratio="1"
max-width="238"
max-height="87"
Expand Down
6 changes: 3 additions & 3 deletions plugins/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as firebase from 'firebase/app'
import 'firebase/auth'

const firebaseConfig = {
apiKey: process.env.FIREBASE_API_KEY,
projectId: process.env.FIREBASE_PROJECT_ID,
authDomain: `${process.env.FIREBASE_PROJECT_ID}.firebaseapp.com`
apiKey: process.env.APIKEY,
authDomain: process.env.AUTHDOMAIN,
projectId: process.env.PROJECT_ID
}

firebase.apps.length ? firebase.app() : firebase.initializeApp(firebaseConfig)
Expand Down

0 comments on commit 3daf0b7

Please sign in to comment.