summaryrefslogtreecommitdiffhomepage
path: root/cmd/gvisor-website/main.go
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-03-26 19:03:47 -0400
committerFabricio Voznika <fvoznika@gmail.com>2020-03-27 09:05:04 -0700
commit4b0eaecb71c65465d5df39ac4bcadbe5a501c550 (patch)
treea6dea28f779c1fe088ca87a895fbd06a4d42968b /cmd/gvisor-website/main.go
parent939198fa413044adb11717b1a7a611ab2d405e9f (diff)
Added FAQ redirect
Diffstat (limited to 'cmd/gvisor-website/main.go')
-rw-r--r--cmd/gvisor-website/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/gvisor-website/main.go b/cmd/gvisor-website/main.go
index 01ad9153a..decab8a40 100644
--- a/cmd/gvisor-website/main.go
+++ b/cmd/gvisor-website/main.go
@@ -30,11 +30,15 @@ import (
)
var redirects = map[string]string{
+ // Github redirects
"/change": "https://github.com/google/gvisor",
"/issue": "https://github.com/google/gvisor/issues",
"/issue/new": "https://github.com/google/gvisor/issues/new",
"/pr": "https://github.com/google/gvisor/pulls",
+ // For links
+ "/faq": "/docs/user_guide/faq/",
+
// Redirects to compatibility docs.
"/c": "/docs/user_guide/compatibility/",
"/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/",