mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
redirect other domain requests to docs.gomods.io (#663)
* redirect http{,s}://gomods{.io,-athens.netlify.com} to https://docs.gomods.io
* forgot quotes
This commit is contained in:
committed by
Carolyn Van Slyck
parent
6af44242fb
commit
ce45672928
@@ -6,3 +6,18 @@
|
||||
publish = "docs/public/"
|
||||
command = "hugo -v"
|
||||
environment = { HUGO_VERSION = "0.37" }
|
||||
|
||||
[[redirects]]
|
||||
from = "https://gomods.io/*"
|
||||
to = "https://docs.gomods.io/:splat"
|
||||
status = 303
|
||||
|
||||
[[redirects]]
|
||||
from = "http://gomods.io/*"
|
||||
to = "https://docs.gomods.io/:splat"
|
||||
status = 303
|
||||
|
||||
[[redirects]]
|
||||
from = "https://gomods-athens.netlify.com/*"
|
||||
to = "https://docs.gomods.io/:splat"
|
||||
status = 303
|
||||
|
||||
Reference in New Issue
Block a user