Change hosting to firebase
This commit is contained in:
parent
369efe5faa
commit
e31b69931a
8 changed files with 44 additions and 157 deletions
24
firebase.json
Normal file
24
firebase.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"hosting": {
|
||||
"site": "photo-schmelczer-dev",
|
||||
"public": "dist",
|
||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*.@(jpg|jpeg|gif|png|webm|mp4)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "max-age=31536000"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue