Add Cloud Functions & Hosting rewrite for hello-world

This commit is contained in:
Xevion
2022-05-18 16:34:33 -05:00
parent 114f909bb2
commit 2ae2b3c469
+10
View File
@@ -10,7 +10,17 @@
{
"source": "**",
"destination": "/index.html"
},
{
"source": "/hello-world/",
"function": "helloWorld"
}
]
},
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
}