I want to create a nodejs application, but when I tried to create an application with googlehost firebase, I can only change the index.html file, but I cannot use the file index.js
as a nodejs application. <sh> I do not know how to do this.
Here is the file firebase.json
:
{
"database":{"rules":"database.rules.json"},
"hosting":
{
"public":"public",
"rewrites":
[{
"source":"**",
"destination":"/index.html"
}]
}
}
But I can not modify this file to run the nodejs application. Any help?
source
share