.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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -