Merge #2874
2874: netlify: fix root redirect r=messense a=davidhewitt See https://github.com/PyO3/pyo3/pull/2871#issuecomment-1378074972 Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
This commit is contained in:
commit
3fc0634ee6
|
@ -29,7 +29,7 @@ echo "/latest/* /v${PYO3_VERSION}/:splat" >> netlify_build/_redirects
|
|||
if [ "${CONTEXT}" == "deploy-preview" ]; then
|
||||
echo "/ /main/" >> netlify_build/_redirects
|
||||
else
|
||||
echo "/ /v${PYO3_VERSION}/>" >> netlify_build/_redirects
|
||||
echo "/ /v${PYO3_VERSION}/" >> netlify_build/_redirects
|
||||
fi
|
||||
|
||||
## Generate towncrier release notes
|
||||
|
|
Loading…
Reference in New Issue