/api/status
: Meant to help you debug your app and check non-sensitive environment variables on staging/production stages./api/error
: Meant to help you test your server-side Sentry integration, will throw errors on purpose so you can check whether they're reporting into Sentry./api/autoRedirectToLocalisedPage
: Meant to detect the browser preferred locale (based on HTTP headers) and redirect to the localised version of the page.next.config.js
to automatically redirect to this endpoint all requests that don't have a locale defined in the url.fr
or en
page, depending on your browser language preferences.