Created
December 15, 2019 18:26
-
-
Save jiimaho/2488a562a91001465bf7f59a3ccbecf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.UseSpa(spa => | |
{ | |
if (_environment.IsDevelopment()) | |
{ | |
// Make sure you have started the frontend with npm run dev on port 4000 | |
spa.UseProxyToSpaDevelopmentServer("http://localhost:4000"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment