Skip to content

Instantly share code, notes, and snippets.

@varsi94
Created January 4, 2023 07:34
Show Gist options
  • Select an option

  • Save varsi94/756068b919fe489825c472870fc8125e to your computer and use it in GitHub Desktop.

Select an option

Save varsi94/756068b919fe489825c472870fc8125e to your computer and use it in GitHub Desktop.
ASP.NET Core - 2 React apps - initial code
app.Map("/admin", adminApp => {
adminApp.UseSpa(c => {
c.UseProxyToSpaDevelopmentServer(new Uri("http://localhost:3001/admin/"));
});
});
app.UseSpa(c => {
c.UseProxyToSpaDevelopmentServer("http://localhost:3000");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment