Firebase 托管与自己的服务器 node.js [英] Firebase Hosting with own server node.js
本文介绍了Firebase 托管与自己的服务器 node.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有带有 firebase 数据库的 webapp.我想在 firebase 上托管该应用程序.我的应用程序有自己的服务器 nodejs 并使用 websockets.如何在 Firebase 上托管我的应用?我如何在 Firebase 上运行我自己的服务器?
I have webapp with firebase database. I would like hosting the app on firebase. My app has own server nodejs and using websockets. How can I host my app on Firebase? And how can I run my own server on Firebase?
推荐答案
我觉得你的问题很简单.答案也很简单:不,你不能.
I think your question is quite simple. And the answer is also simple: no, you can't.
Firebase 仅提供静态文件.为此,您需要尝试使用 heroku、codeship 等.
Firebase only serves static files. You need to try heroku, codeship, etc for that.
这篇关于Firebase 托管与自己的服务器 node.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文