
club.zhcs.lina.starter.web.DefaultIndexPageConfiguration Maven / Gradle / Ivy
package club.zhcs.lina.starter.web;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import club.zhcs.lina.web.index.DefaultIndexPageController;
/**
*
* @author kerbores([email protected])
*
*/
@AutoConfiguration
@EnableConfigurationProperties(DefaultIndexPageConfigurationProperties.class)
public class DefaultIndexPageConfiguration {
@Bean
DefaultIndexPageController defaultIndexPageController(DefaultIndexPageConfigurationProperties config) {
return DefaultIndexPageController.builder().url(config.getUrl()).build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy