Skip to content

Commit

Permalink
Fix deployment issue
Browse files Browse the repository at this point in the history
  • Loading branch information
salbahra committed Nov 26, 2024
1 parent 7c1fff8 commit bc20b5a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,44 @@
]
}
]
},
{
"site": "opensprinkler-devui",
"public": "build/firmware",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png|svg|webp)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=3600, s-maxage=31536000"
}
]
},
{
"source": "**/*.@(js|css)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=3600, s-maxage=31536000"
}
]
}
]
}
]
}

0 comments on commit bc20b5a

Please sign in to comment.