Created
February 27, 2021 06:17
-
-
Save bbachi/67faab475607f8f09ebb1f1d195340e4 to your computer and use it in GitHub Desktop.
This file contains 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
public void ConfigureServices(IServiceCollection services) | |
{ | |
services.AddControllersWithViews(); | |
// In production, the Angular files will be served from this directory | |
services.AddSpaStaticFiles(configuration => | |
{ | |
configuration.RootPath = "ClientApp/dist"; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment