Spaces:
Sleeping
Sleeping
Yuyuqt commited on
Commit ·
cb5cb0f
1
Parent(s): e2ff29f
fix: vercel.json routing for Blazor
Browse files
BlazorWebAssembly/vercel.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"buildCommand": "./dotnet/dotnet publish -c Release -o publish",
|
| 3 |
"outputDirectory": "publish/wwwroot",
|
|
|
|
|
|
|
| 4 |
"routes": [
|
| 5 |
{
|
| 6 |
"src": "/(.*)",
|
|
|
|
| 1 |
{
|
| 2 |
"buildCommand": "./dotnet/dotnet publish -c Release -o publish",
|
| 3 |
"outputDirectory": "publish/wwwroot",
|
| 4 |
+
"cleanUrls": true,
|
| 5 |
+
"trailingSlash": false,
|
| 6 |
"routes": [
|
| 7 |
{
|
| 8 |
"src": "/(.*)",
|