Skip to content

Commit

Permalink
add trailing slash for /index.html redirects (#3269)
Browse files Browse the repository at this point in the history
## 📝 Summary

<!--
Provide a concise summary of what this pull request is addressing.

If this PR fixes any issues, list them here by number (e.g., Fixes
#123).
-->
I can't test this locally, but it's a suspicion I have. Please close if
incorrect. Related to [discord
link](https://discord.com/channels/1059888774789730424/1059891311190229082/1319980533106737162)

## 🔍 Description of Changes

<!--
Detail the specific changes made in this pull request. Explain the
problem addressed and how it was resolved. If applicable, provide before
and after comparisons, screenshots, or any relevant details to help
reviewers understand the changes easily.
-->

## 📋 Checklist

- [x] I have read the [contributor
guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [ ] For large changes, or changes that affect the public API: this
change was discussed or approved through an issue, on
[Discord](https://marimo.io/discord?ref=pr), or the community
[discussions](https://github.com/marimo-team/marimo/discussions) (Please
provide a link if applicable).
- [ ] I have added tests for the changes made.
- [ ] I have run the code and verified that it works as expected.

## 📜 Reviewers

<!--
Tag potential reviewers from the community or maintainers who might be
interested in reviewing this pull request.

Your PR will be reviewed more quickly if you can figure out the right
person to tag with @ -->

@akshayka OR @mscolnick
  • Loading branch information
Light2Dark authored Dec 21, 2024
1 parent a287ea4 commit 112190c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
{
"source": "/api/index.html",
"destination": "/api",
"destination": "/api/",
"permanent": true
},
{
Expand Down Expand Up @@ -142,7 +142,7 @@
},
{
"source": "/api/inputs/index.html",
"destination": "/api/inputs",
"destination": "/api/inputs/",
"permanent": true
},
{
Expand Down Expand Up @@ -232,7 +232,7 @@
},
{
"source": "/api/layouts/index.html",
"destination": "/api/layouts",
"destination": "/api/layouts/",
"permanent": true
},
{
Expand Down Expand Up @@ -292,7 +292,7 @@
},
{
"source": "/api/media/index.html",
"destination": "/api/media",
"destination": "/api/media/",
"permanent": true
},
{
Expand Down Expand Up @@ -362,7 +362,7 @@
},
{
"source": "/getting_started/index.html",
"destination": "/getting_started",
"destination": "/getting_started/",
"permanent": true
},
{
Expand Down Expand Up @@ -392,7 +392,7 @@
},
{
"source": "/guides/coming_from/index.html",
"destination": "/guides/coming_from",
"destination": "/guides/coming_from/",
"permanent": true
},
{
Expand Down Expand Up @@ -422,7 +422,7 @@
},
{
"source": "/guides/configuration/index.html",
"destination": "/guides/configuration",
"destination": "/guides/configuration/",
"permanent": true
},
{
Expand Down Expand Up @@ -467,7 +467,7 @@
},
{
"source": "/guides/deploying/index.html",
"destination": "/guides/deploying",
"destination": "/guides/deploying/",
"permanent": true
},
{
Expand All @@ -492,7 +492,7 @@
},
{
"source": "/guides/editor_features/index.html",
"destination": "/guides/editor_features",
"destination": "/guides/editor_features/",
"permanent": true
},
{
Expand All @@ -517,7 +517,7 @@
},
{
"source": "/guides/index.html",
"destination": "/guides",
"destination": "/guides/",
"permanent": true
},
{
Expand All @@ -532,7 +532,7 @@
},
{
"source": "/guides/integrating_with_marimo/index.html",
"destination": "/guides/integrating_with_marimo",
"destination": "/guides/integrating_with_marimo/",
"permanent": true
},
{
Expand Down Expand Up @@ -582,7 +582,7 @@
},
{
"source": "/guides/working_with_data/index.html",
"destination": "/guides/working_with_data",
"destination": "/guides/working_with_data/",
"permanent": true
},
{
Expand Down Expand Up @@ -617,7 +617,7 @@
},
{
"source": "/integrations/index.html",
"destination": "/integrations",
"destination": "/integrations/",
"permanent": true
},
{
Expand Down

0 comments on commit 112190c

Please sign in to comment.