Skip to content
Discussion options

You must be logged in to vote

it works finally 👍

I needed to add "api" after "target" also, like this :

const proxy = {
  async rewrites() {
    return [
      {
        source: "/api/:path*",
        destination: `${target}/api/:path*`,
      },
    ];
  },
};

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@DamienA24
Comment options

@DamienA24
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DamienA24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants