Firebase托管自己的服务器node.js [英] Firebase Hosting with own server node.js

查看:186
本文介绍了Firebase托管自己的服务器node.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有firebase数据库的webapp。我想要在Firebase上托管应用程序。我的应用程序有自己的服务器nodejs和使用websockets。我如何在Firebase上托管我的应用程序?我如何在Firebase上运行我自己的服务器?

解决方案

我想你的问题很简单。答案也很简单:不,你不能。

Firebase只提供静态文件。你需要尝试heroku,codeship等。


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 only serves static files. You need to try heroku, codeship, etc for that.

这篇关于Firebase托管自己的服务器node.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆