我想创建一个nodejs应用程序,但是当我尝试使用google的托管firebase创建应用程序时,我只能修改index.html文件,但我不能将index.js文件用作nodejs应用程序.
我不知道该怎么做.
这是firebase.json文件:
{
"database":{"rules":"database.rules.json"},
"hosting":
{
"public":"public",
"rewrites":
[{
"source":"**",
"destination":"/index.html"
}]
}
}
Run Code Online (Sandbox Code Playgroud)
但我不能修改该文件来执行nodejs应用程序.有帮助吗?