diff --git a/.gitignore b/.gitignore index e59eaab..c0fbe82 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ node_modules dist dist-ssr *.local -pnpm-lock.yaml + # Editor directories and files .vscode/* !.vscode/extensions.json diff --git a/index.html b/index.html index 312c597..776bc55 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json new file mode 100644 index 0000000..89219cd --- /dev/null +++ b/public/staticwebapp.config.json @@ -0,0 +1,9 @@ +{ + "navigationFallback": { + "rewrite": "index.html", + "exclude": ["/assets/*"] + }, + "mimeTypes": { + ".json": "text/json" + } +}