fix(redirects): Update TinyTorch redirect to use dedicated domain

Previously redirected to GitHub Pages URL, which itself redirected to
tinytorch.ai, creating an unnecessary hop. Now redirects directly to
tinytorch.ai for better performance and cleaner URL routing.

Updated:
- quarto/_redirects: /tinytorch -> https://tinytorch.ai
- netlify.toml: /tinytorch -> https://tinytorch.ai
This commit is contained in:
Vijay Janapa Reddi
2025-11-30 17:02:43 -05:00
parent 37aa2bf3a9
commit f913b17380
2 changed files with 4 additions and 4 deletions

View File

@@ -60,12 +60,12 @@
[[redirects]]
from = "/tinytorch"
to = "https://mlsysbook.github.io/TinyTorch/intro.html"
to = "https://tinytorch.ai"
status = 301
[[redirects]]
from = "/tinytorch/"
to = "https://mlsysbook.github.io/TinyTorch/intro.html"
to = "https://tinytorch.ai"
status = 301
# Proxy all other requests to GitHub Pages with cache-busting

View File

@@ -16,8 +16,8 @@
/changelog /contents/frontmatter/changelog/changelog.html 301
/changelog/ /contents/frontmatter/changelog/changelog.html 301
/tinytorch https://mlsysbook.github.io/TinyTorch/intro.html 301
/tinytorch/ https://mlsysbook.github.io/TinyTorch/intro.html 301
/tinytorch https://tinytorch.ai 301
/tinytorch/ https://tinytorch.ai 301
# GitHub Pages fallback: use HTML redirect pages
# See kits.html for client-side redirect implementation