3 ms·
I do this enough that I really had Next had some config-level handling for API reverse proxy stuff instead of writing a /api wrapper for each.
by crooked-v 5y ago
I do this enough that I really had Next had some config-level handling for API reverse proxy stuff instead of writing a /api wrapper for each.
- colinclerk 5y agoCheck out “rewrites”: https://nextjs.org/docs/api-reference/next.config.js/rewrites https://nextjs.org/docs/api-reference/next.config.js/rewrite...