kopia lustrzana https://github.com/badgen/badgen.net
Init firebase config
rodzic
afa9146bc8
commit
4b01b0a522
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"projects": {
|
||||
"default": "badgen-service"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
dist
|
||||
yarn.lock
|
||||
node_modules
|
||||
dist-server
|
||||
dist
|
||||
.firebase
|
||||
.next
|
||||
.gen
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"hosting": {
|
||||
"public": "dist",
|
||||
"ignore": [
|
||||
"libs",
|
||||
"endpoints",
|
||||
"index.js*",
|
||||
"**/*"
|
||||
],
|
||||
"rewrites": [ {
|
||||
"source": "**",
|
||||
"run": {
|
||||
"serviceId": "badgen",
|
||||
"region": "us-central1"
|
||||
}
|
||||
} ],
|
||||
"headers": [ {
|
||||
"source" : "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
|
||||
"headers" : [ {
|
||||
"key" : "Access-Control-Allow-Origin",
|
||||
"value" : "*"
|
||||
} ]
|
||||
}, {
|
||||
"source" : "**/*.@(svg|png)",
|
||||
"headers" : [ {
|
||||
"key" : "Cache-Control",
|
||||
"value" : "max-age=86400"
|
||||
} ]
|
||||
} ]
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue