Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Apr 23, 2022
1 parent bf9ef45 commit d0c4fe7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ dependencies {
runtimeOnly 'com.h2database:h2'

implementation 'org.mariadb.jdbc:mariadb-java-client:3.0.4' //마리아DB

implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public IntegratedController(WorkerService workerService, MemberService memberSer
}

@RequestMapping("/error")
public String error(){return "index.html";}
public String errorHandler(){return "index";}

@PostMapping("/")
@ResponseBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

@Configuration
public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
// @Override
// public void addCorsMappings(CorsRegistry registry) {
// registry.addMapping("/**")
// .allowCredentials(true)
// .allowedOrigins("http:https://localhost:3000");
}
// }
}
Binary file modified src/main/resources/static/.DS_Store
Binary file not shown.

0 comments on commit d0c4fe7

Please sign in to comment.