e64c482469
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>
7 lines
150 B
TOML
7 lines
150 B
TOML
[build]
|
|
command = "make build generate-redirects"
|
|
publish = "_site"
|
|
|
|
[context.deploy-preview]
|
|
command = "make build-preview generate-redirects"
|