robisim74 / AngularSPAWebAPI

Angular Single Page Application with an ASP.NET Core Web API that uses token authentication
MIT License
231 stars 59 forks source link

Can't deploy your project #34

Closed yakeer closed 5 years ago

yakeer commented 5 years ago

Hey, First of all, thanks for the template, It really helped me understand things out with IdentityServer and ASPNetCORE + Angular.

I'm facing an issue when trying to deploy to Azure Web App, I'm getting error 500, and in the Web App logs I see that it cannot find the index.htm, and therefore it throws the error 500.

Did anyone else faced the same issue? Maybe you've got a solution?

robisim74 commented 5 years ago

@yakeer Try to verify these settings for serving static files in production:

robisim74 commented 5 years ago

@yakeer Did you solve your problem? This project is currently deployed on Azure without any error.