Skip to content

Commit 86d387a

Browse files
committed
DELETE: DotEnv
1 parent cf0e6cc commit 86d387a

File tree

4 files changed

+8
-34
lines changed

4 files changed

+8
-34
lines changed

nuxt.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ module.exports = {
8686
'@nuxtjs/axios',
8787
'@nuxtjs/pwa',
8888
'nuxt-webfontloader',
89-
// Doc: https://github.com/nuxt-community/dotenv-module
90-
'@nuxtjs/dotenv',
9189
'nuxt-svg-loader',
9290
],
9391
/*
@@ -121,16 +119,6 @@ module.exports = {
121119
},
122120
},
123121
},
124-
env: {
125-
APIKEY: process.env.APIKEY,
126-
AUTHDOMAIN: process.env.AUTHDOMAIN,
127-
DATABASEURL: process.env.DATABASEURL,
128-
PROJECTID: process.env.PROJECTID,
129-
STORAGEBUCKET: process.env.STORAGEBUCKET,
130-
MESSAGINGSENDERID: process.env.MESSAGINGSENDERID,
131-
APPID: process.env.APPID,
132-
MEASUREMENTID: process.env.MEASUREMENTID,
133-
},
134122
/*
135123
** Build configuration
136124
*/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"dependencies": {
2828
"@babel/runtime-corejs3": "^7.9.6",
2929
"@nuxtjs/axios": "^5.10.3",
30-
"@nuxtjs/dotenv": "^1.4.1",
3130
"@nuxtjs/pwa": "^3.0.0-0",
3231
"cookieparser": "^0.1.0",
3332
"core-js": "3.6.5",

src/plugins/firebase.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import * as firebase from 'firebase/app'
22
import 'firebase/firestore'
33
import 'firebase/auth'
44
const firebaseConfig = {
5-
apiKey: process.env.APIKEY,
6-
authDomain: process.env.AUTHDOMAIN,
7-
databaseURL: process.env.DATABASEURL,
8-
projectId: process.env.PROJECTID,
9-
storageBucket: process.env.STORAGEBUCKET,
10-
messagingSenderId: process.env.MESSAGINGSENDERID,
11-
appId: process.env.APPID,
12-
measurementId: process.env.MEASUREMENTID,
5+
apiKey: 'AIzaSyDryyjdTrz5FWFveRwjiRqmUaE6yje2vas',
6+
authDomain: 'studyathome.firebaseapp.com',
7+
databaseURL: 'https://studyathome.firebaseio.com',
8+
projectId: 'studyathome',
9+
storageBucket: 'studyathome.appspot.com',
10+
messagingSenderId: '133064394534',
11+
appId: '1:133064394534:web:9198f1bf636a12535e63e7',
12+
measurementId: 'G-N9EMMWHQJV',
1313
}
1414

1515
if (!firebase.apps.length) {

yarn.lock

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,14 +1405,6 @@
14051405
consola "^2.11.3"
14061406
defu "^2.0.2"
14071407

1408-
"@nuxtjs/dotenv@^1.4.1":
1409-
version "1.4.1"
1410-
resolved "https://registry.yarnpkg.com/@nuxtjs/dotenv/-/dotenv-1.4.1.tgz#dd5abb98e22cc7ae27139d3aa606151034293128"
1411-
integrity sha512-DpdObsvRwC8d89I9mzz6pBg6e/PEXHazDM57DOI1mmML2ZjHfQ/DvkjlSzUL7T+TnW3b/a4Ks5wQx08DqFBmeQ==
1412-
dependencies:
1413-
consola "^2.10.1"
1414-
dotenv "^8.1.0"
1415-
14161408
"@nuxtjs/eslint-config@^2.0.2":
14171409
version "2.0.2"
14181410
resolved "https://registry.yarnpkg.com/@nuxtjs/eslint-config/-/eslint-config-2.0.2.tgz#ff521ee1c0b875ac340f17ed656db213b6af854e"
@@ -3772,11 +3764,6 @@ dot-prop@^5.2.0:
37723764
dependencies:
37733765
is-obj "^2.0.0"
37743766

3775-
dotenv@^8.1.0:
3776-
version "8.2.0"
3777-
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
3778-
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
3779-
37803767
duplexer3@^0.1.4:
37813768
version "0.1.4"
37823769
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"

0 commit comments

Comments
 (0)