diff --git a/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt b/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt index c263587..7ab3793 100644 --- a/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt +++ b/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt @@ -27,7 +27,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer @ConfigurationProperties(prefix = "messenger.database") data class DatabaseProperties @ConstructorBinding constructor( - val h2Path: String, val jsonPath: String, ) @@ -90,7 +89,6 @@ class Configuration { ).also { management -> logger.info("Loaded driver path: {}", driverProperties.driverPath) logger.info("Loaded binary path: {}", driverProperties.binaryPath) - logger.info("Loaded database path: {}", databaseProperties.h2Path) logger.info("Loaded database path: {}", databaseProperties.jsonPath) management .fetchConfiguration() diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 37e5bfc..9329e76 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -42,7 +42,6 @@ messenger: driver-path: /Users/lanyuanxiaoyao/Downloads/chromium/128/macOS-1289987/chromedriver binary-path: /Users/lanyuanxiaoyao/Downloads/chromium/128/macOS-1289987/Chromium.app/Contents/MacOS/Chromium database: - h2-path: ./database/database.db json-path: ./database/database.json fenix: print-banner: false