HAMUR_E0050: A redirects JSON entry has the wrong shape
A redirects JSON entry has the wrong shape. Error HAMUR_E0050 belongs to hamur, config, environment and command line (0001 – 0999).
Message
HAMUR_E0050 <place> must be { from: string, to: string, status?: 301 | 302 | 307 | 308 }
Cause
An entry of the redirects JSON file is not { from: string, to: string, status? }.
Fix
Fix the entry named in the message.
[
{ "from": "/old", "to": "/new" },
{ "from": "/docs/start", "to": "https://example.com/start", "status": 301 }
]