Skip to content

Commit

Permalink
update netlify redirects and theme to fix canonical url issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Feb 14, 2025
1 parent a9c8ee0 commit e3795e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@
output_path = "reports/lighthouse.html"

# We need this so preview environments and the base site look ok on their own
[[redirects]]
from = "https://lando-dotnet.netlify.app"
to = "https://lando-dotnet.netlify.app/plugins/dotnet/index.html"
status = 301
force = true
[[redirects]]
from = "https://lando-dotnet.netlify.app/*"
to = "https://docs.lando.dev/:splat"
status = 301
[[redirects]]
from = "/"
to = "/plugins/dotnet"
Expand Down
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"devDependencies": {
"@babel/eslint-parser": "^7.16.0",
"@lando/leia": "^1.0.0-beta.3",
"@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
"@lando/vitepress-theme-default-plus": "github:lando/vitepress-theme-default-plus#main",
"chai": "^4.3.4",
"command-line-test": "^1.0.10",
"eslint": "^7.32.0",
Expand Down

0 comments on commit e3795e2

Please sign in to comment.