Allowing access to my Site.Css on my login form MVC

后端 未结 3 2051
清歌不尽
清歌不尽 2021-01-06 11:20

I need my css to show for my login page, but it\'s not showing at the moment. How would I go about allowing access to my login page with the css included? Im using forms aut

3条回答
  •  暖寄归人
    2021-01-06 11:35

    Stumbled across this, cause I needed the same thing. Here is a solution:

      
        
          
            
          
        
      
    

    As is writer here (I used the link from the previous answer) this will give the unauthenticated user access to all the files in the Content folder, and the css file is in this folder. P.S. sorry guys, this is the same as the previous answer, just ignore this

提交回复
热议问题