Created
August 22, 2021 11:41
-
-
Save evrentan/b9e96189c6bc966818d12bd7afcd7faa to your computer and use it in GitHub Desktop.
Adding @EnableConfigServer to SpringCloudConfigApplication class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tan.labs.springcloudconfig.spring.spring; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.config.server.EnableConfigServer; | |
@SpringBootApplication | |
@EnableConfigServer | |
public class SpringCloudConfigApplication { | |
public static void main(String[] args) { | |
SpringApplication.run(SpringCloudConfigApplication.class, args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment