This commit introduces a more secure method for verifying user access to the internal launchpad by hashing email addresses. - Replaces the plain-text email list with SHA-256 hashes. - Adds a script to generate these hashes from `iap-users.txt`. - Updates the launchpad HTML to hash the input email and compare it against the `allowed-hashes.json` file. - Updates Makefile to generate hashes before deploy and serve. - Adds .keep file for krow_client folder.
89 lines
1.7 KiB
JSON
89 lines
1.7 KiB
JSON
{
|
|
"firestore": {
|
|
"rules": "firebase/firestore.rules"
|
|
},
|
|
"storage": {
|
|
"rules": "firebase/storage.rules"
|
|
},
|
|
"hosting": [
|
|
{
|
|
"target": "launchpad",
|
|
"public": "firebase/internal-launchpad",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"iap-users.txt",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
]
|
|
},
|
|
{
|
|
"target": "app-dev",
|
|
"public": "frontend-web/dist",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"target": "app-staging",
|
|
"public": "frontend-web/dist",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"target": "api-harness-dev",
|
|
"public": "internal-api-harness/dist",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"target": "api-harness-staging",
|
|
"public": "internal-api-harness/dist",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"emulators": {
|
|
"dataconnect": {
|
|
"dataDir": "dataconnect/.dataconnect/pgliteData"
|
|
}
|
|
},
|
|
"dataconnect": {
|
|
"source": "dataconnect"
|
|
}
|
|
}
|