Skip to content

Instantly share code, notes, and snippets.

@satanworker
Created August 16, 2024 11:40
Show Gist options
  • Select an option

  • Save satanworker/395fda253ac09c07948023bf0132dc4c to your computer and use it in GitHub Desktop.

Select an option

Save satanworker/395fda253ac09c07948023bf0132dc4c to your computer and use it in GitHub Desktop.

Revisions

  1. satanworker created this gist Aug 16, 2024.
    19 changes: 19 additions & 0 deletions vercel-redirects
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    {
    "redirects": [
    {
    "source": "/(.*)/",
    "destination": "/$1",
    "permanent": true
    },
    {
    "source": "/index.html",
    "destination": "/",
    "permanent": true
    },
    {
    "source": "/(.*)/index.html",
    "destination": "/$1",
    "permanent": true
    }
    ]
    }