如何使用SvelteKit和防火墙托管?firebase宿主要求html文件被称为Index.html,而SvelteKit则称它为app.html。我认为这与SvelteKit适配器有关。
发布于 2022-01-18 20:18:54
您可以使用配置 Firebase来提供所需的文件。
"hosting": {
// ...
// Serves app.html for requests to files or directories that do not exist
"rewrites": [ {
"source": "**",
"destination": "/app.html"
} ]
}https://stackoverflow.com/questions/70750601
复制相似问题