例:
我在firebase托管中有三个html文件:
> index.html
> test1.html
> test2.html
题:
如何删除html文件test1.html?我很困惑,删除,
是否设置json文件firebase.json还是有其他方法吗?
谢谢你的帮助
解决方法
根据您要删除的数量,您有以下两种选择:
$rm public/foo.html $firebase deploy
禁用托管
如果您要在Firebase托管中删除整个网站,则可以使用disable hosting entirely.
$firebase hosting:disable ? Are you sure you want to disable Firebase Hosting? This will immediately make your site inaccessible! Yes ✔ Hosting has been disabled for example-firebase. Deploy a new version to re-enable.