I’m trying to create a redirect rule that achieves the following:
Any request that arrives at
https://example.netlify.app/api/ORG/any/path to be redirected to
https://ORG.example.com/any/path. Can I achieve that using this configuration in my netlify.toml?
from = “/api/:ORG/*”
to = “https://:ORG.example.com/:splat”
status = 200
force = true