.NET Core changing the location where my default index.html file is -


i building angular 2 app , using .net core , webpack compile static resources dist folder. using plugin builds index.html file , puts in wwwroot/dist folder struggling on how configure startup.cs file default file in dist folder.

currently have...

        app.usedefaultfiles();         app.usestaticfiles(); 

in startup.cs file not use index.html generated in dist folder. ideas on need change? docs not give reference find on how this.

thanks.

you able change directory static files, passing staticfileoptions usestaticfiles method:
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -