S SmartDocs
Série: Ricky javascript 13 linhas · Atualizado 2026-02-03

next.config.js

Ricky/StrongPassword/frontend/next.config.js

/** @type {import('next').NextConfig} */
const nextConfig = {
  async rewrites() {
    return [
      {
        source: '/api/:path*',
        destination: 'http://localhost:4000/api/:path*',
      },
    ];
  },
};

module.exports = nextConfig;

Artigos relacionados