Skip to content

Commit

Permalink
Merge pull request #1361 from scroll-tech/badge-registry-redirect
Browse files Browse the repository at this point in the history
fix(badge-registry): redirect path
  • Loading branch information
yqrashawn authored Nov 25, 2024
1 parent 91cf1ac commit 6490d07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ yarn-error.log*
next-env.d.ts

/src/pages/blog/data.json

# Local Netlify folder
.netlify
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ status = 301

[[redirects]]
from = "/canvas/listing"
to = "https://badge-registry.canvas.scroll.cat/"
to = "https://badge-registry-redirect.canvas.scroll.cat/badge-registry"
status = 200
force = true

[[redirects]]
from = "/_next/*"
to = "https://badge-registry.canvas.scroll.cat/_next/:splat"
from = "/badge-registry/*"
to = "https://badge-registry-redirect.canvas.scroll.cat/badge-registry/:splat"
status = 200

[[redirects]]
Expand Down

0 comments on commit 6490d07

Please sign in to comment.