|
@@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.boot.CommandLineRunner;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
+import org.springframework.context.annotation.Profile;
|
|
|
|
|
|
import java.awt.*;
|
|
|
import java.io.IOException;
|
|
@@ -75,6 +76,7 @@ public class SwaggerUIConfig {
|
|
|
}
|
|
|
|
|
|
@Bean
|
|
|
+ @Profile(value = "dev")
|
|
|
public CommandLineRunner openBrowser() {
|
|
|
return args -> {
|
|
|
try {
|