mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
* redirect http{,s}://gomods{.io,-athens.netlify.com} to https://docs.gomods.io
* forgot quotes
24 lines
476 B
TOML
24 lines
476 B
TOML
[Settings]
|
|
ID = "gomods-athens"
|
|
|
|
[build]
|
|
base = "docs/"
|
|
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
|