Skip to content

Commit

Permalink
Remove WebMvcAutoConfiguration from the exclusion list
Browse files Browse the repository at this point in the history
  • Loading branch information
niltsiar committed Jan 8, 2024
1 parent ee9e6b8 commit 4537ae6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/dev/gtuk/diga/Application.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package dev.gtuk.diga

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.runApplication

@SpringBootApplication(exclude = [WebMvcAutoConfiguration::class, ErrorMvcAutoConfiguration::class])
@SpringBootApplication(exclude = [ErrorMvcAutoConfiguration::class])
@EnableConfigurationProperties(AppConfig::class)
class Application

Expand Down

0 comments on commit 4537ae6

Please sign in to comment.