Archived Hosting

This commit is contained in:
2024-02-27 22:29:17 -05:00
parent 917602bbba
commit 56ff6a38a4
8 changed files with 203 additions and 17 deletions
-45
View File
@@ -1,45 +0,0 @@
{
"functions": {
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run lint"],
"source": "functions"
},
"hosting": [
{
"target": "chrome",
"public": "website",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
},
{
"target": "admin",
"public": "admin/build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
],
"emulators": {
"functions": {
"port": 5001
},
"firestore": {
"port": 8080
},
"hosting": {
"port": 5000
},
"ui": {
"enabled": true
},
"pubsub": {
"port": 8085
}
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}