Company
Date Published
Author
Charlie Gerard
Word count
345
Language
English
Hacker News points
None

Summary

Netlify has introduced a feature that allows users to set up redirects in their apps, making it easier to expose Netlify Functions as an API. To do this, users can create a `_redirects` file in the publish directory of their site, defining the redirects with a specific syntax. This feature also includes additional options such as HTTP status codes, query parameters, and redirect by country or language. Another way to set up redirects is via the `netlify.toml` file, which provides more flexibility for complex applications. The new feature aims to improve user-friendliness and encourage users to deploy their domains and use Netlify Functions.