Skip to content

Commit

Permalink
Add Webconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
milesha committed Oct 29, 2024
1 parent 98cc49b commit 591d1c9
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package de.tum.in.www1.hephaestus;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


@Configuration
public class WebConfig implements WebMvcConfigurer {

@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
}

0 comments on commit 591d1c9

Please sign in to comment.