File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
MtdrSpring/backend/src/main
java/com/springboot/MyTodoList/security Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 * https://petstore.swagger.io/
14141515 */
16- // const API_LIST = 'http://localhost:8080/todolist';
1716// Copy from the endpoint from the API Gateway Deployment
1817// Example: const API_LIST = 'https://di2eyonlz5s7kmuektcddaw5zq.apigateway.<region>.oci.customer-oci.com/todolist';
19- const API_LIST = 'https://di2eyonlz5s7kmuektcddaw5zq.apigateway.eu-frankfurt-1.oci.customer-oci.com/todolist' ;
20-
18+ // const API_LIST = 'https://di2eyonlz5s7kmuektcddaw5zq.apigateway.eu-frankfurt-1.oci.customer-oci.com/todolist';
19+ const API_LIST = '/todolist' ;
2120export default API_LIST ;
Original file line number Diff line number Diff line change 1212public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {
1313 @ Override
1414 protected void configure (HttpSecurity httpSecurity ) throws Exception {
15+ httpSecurity .csrf ().disable ();
1516 httpSecurity .authorizeRequests ().anyRequest ().authenticated ().and ().
1617 formLogin ().and ().logout ().permitAll ();
1718 }
You can’t perform that action at this time.
0 commit comments