How to set Default page in Angular

后端 未结 1 436
深忆病人
深忆病人 2021-01-26 00:35

I am getting an error when I request the link with this URL: http://xxx:46630/ or with this http://crmbyzaid.azurewebsites.net/

But it is worki

1条回答
  •  走了就别回头了
    2021-01-26 01:03

    Since Azure is running on IIS, you need a web.config to tell it how to handle stuff.. This should solve your root-page:

    
        
            
              
                
                        
                        
                            
                            
                        
                        
                    
                
            
        
    
    

    Name the file web.config and save it to your web-root.

    Hope that helps!

    0 讨论(0)
提交回复
热议问题