1e61b69e31
This mirrors the `basePath: false` behavior for custom-routes with `locale: false` to allow users to configure the locales manually (`locale: false`) or have the locales be handled automatically for custom-routes. Fixes: https://github.com/vercel/next.js/issues/18927 Fixes: https://github.com/vercel/next.js/issues/18795
3 lines
78 B
JavaScript
3 lines
78 B
JavaScript
export default (req, res) => {
|
|
res.json({ post: true, query: req.query })
|
|
}
|