source
path on your domain, your server fetches the content from the destination
URL and serves it to the user. Crucially, the URL in the user’s browser bar does not change.
{agentId}
with your actual Chatbase Agent ID. You can
find this ID in your Chatbase dashboard settings.next.config.js
file. This is the recommended method for Next.js applications.next.config.js
file at the root of your project.rewrites
function to the configuration object.