- If the current behavior is a bug, please provide the steps to reproduce.
not a bug, but you can reproduce by trying to verify this rule:
[[redirects]]
from = "/api"
to = "https://my-api.example.com"
status = 200
force = true
headers = {X-From = "netlify", X-Custom-Token = "my custom token"}
You can see that the processor attempts to turn that into 6 separate rules, none of which fit the non-structured spec, so all of which are marked as error.
- What is the expected behavior?
The rule would be verified if syntactically correct.
- Please mention your Elm, node.js, and operating system version.
- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
currently, the playground does not correctly process inputted "structured redirects" such as the example in netlify's docs: https://www.netlify.com/docs/redirects/#structured-configuration
- If the current behavior is a bug, please provide the steps to reproduce.
not a bug, but you can reproduce by trying to verify this rule:
You can see that the processor attempts to turn that into 6 separate rules, none of which fit the non-structured spec, so all of which are marked as error.
- What is the expected behavior?
The rule would be verified if syntactically correct.
- Please mention your Elm, node.js, and operating system version.
This is on https://play.netlify.com