Error 401 while browsing the pages, while calling the backend works

SCRITEstaring camp right in the eye5/23/2023
Hi there, I’m having an issue trying to get the angular frontend part to work. I’ve deployed it with springboot using ng build and I’m able to call the api from my localhost and from postman, but browsing the pages that is not part of the backend gives me error 401. Both parts work fine on localhost separately. Thanks!
SCRITEstaring camp right in the eye5/23/2023
0d004f84-b6a4-4857-a685-f32898edb084
Bbrody5/23/2023
401 means you aren't authorised, spring boot may have an authentication middleware that you probably don't need
SCRITEstaring camp right in the eye5/23/2023
Thank you, seems to the the problem since I have spring security. Angular part works fine with a vanilla spring project
Bbrody5/23/2023
no problem!