Files
website/netlify.toml
T
David Calavera e64c482469 Add redirect generator to make Netlify's CDN redirect to the right places.
Netlify will redirect with a 301 status to the right places without the
need of a custom javascript file.

The current redirects.js is not removed so production can keep working
as it is for now.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2017-02-03 09:50:23 -08:00

7 lines
150 B
TOML

[build]
command = "make build generate-redirects"
publish = "_site"
[context.deploy-preview]
command = "make build-preview generate-redirects"