Skip to content

Commit

Permalink
Add firebase details
Browse files Browse the repository at this point in the history
  • Loading branch information
PauliusSasnauskas committed Feb 9, 2020
1 parent 2939e95 commit 08175ad
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 24 deletions.
14 changes: 13 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"projects": {
"default": "aura-client-master"
"default": "gdg-vilnius-aura"
},
"hosting": {
"public": "dist",
"rewrites": [{
"source": "**",
"destination": "/index.html"
}],
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ yarn-error.log*
*.njsproj
*.sln
*.sw*

# Firebase?
.firebase/hosting*
22 changes: 0 additions & 22 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,6 @@
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [ {
"source": "**",
"destination": "/index.html"
} ],
"headers": [
{
"source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png)",
"headers": [ {
"key": "Cache-Control",
"value": "max-age=31557600"
} ]
}
]
}
}
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
productionSourceMap: false,
pwa: {
name: 'GDG Web App',
name: 'GDG Vilnius',
workboxPluginMode: 'InjectManifest',
themeColor: '#4A90E2',
workboxOptions: {
Expand Down

0 comments on commit 08175ad

Please sign in to comment.