mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2025-12-05 19:17:28 -06:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user