| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
340 バイト追加 、 2020年11月1日 (日) 15:04
===カスタムドメイン===
*https://blog.katsubemakito.net/firebase/cloudfunctions-restfulapi-domain-rewrite
+Hostingと併用
+Hostingに対してカスタムドメインを設定
+firebase.json の hosting の rewrite に functions を追加
<pre>
"hosting": [
{
: 省略
"rewrites": [
{
"source": "**",
"destination": "/index.html",
"functions": "api"
}
]
}
]
</pre>

案内メニュー