Updated MusicStore.Spa with webroot
This commit is contained in:
parent
fd135e29b6
commit
75d3937959
|
|
@ -65,7 +65,7 @@ namespace MusicStore.Spa
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add static files
|
// Add static files
|
||||||
app.UseStaticFiles(new StaticFileOptions { FileSystem = new PhysicalFileSystem("wwwroot") });
|
app.UseStaticFiles();
|
||||||
|
|
||||||
// Add MVC
|
// Add MVC
|
||||||
app.UseMvc(routes =>
|
app.UseMvc(routes =>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"webroot": "wwwroot",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Microsoft"
|
"Microsoft"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue