Commit d8775abd by tobiasflohre

#32 #31

server.context-path not used when application registers itself #32 Typo in About #31
parent 2b8bc3fb
<div class="container">
<div class="main-template">
This is an administration GUI for Spring-Boot applications. All applications has to register itself at this application.
This is an administration GUI for Spring-Boot applications. All applications have to register themselves at this application.
This is done by including <a href="">spring-boot-starters-admin-client</a> as dependency. This will
auto-configure a registrator that registers the application.
</div>
......
<h2 >Spring-Boot applications<br>
<small>Here you'll find all Spring-Boot applications that registered itself at this admin application.</small>
<small>Here you'll find all Spring-Boot applications that registered themselves at this admin application.</small>
</h2>
<table class="table table-striped">
<thead>
......
......@@ -21,7 +21,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "spring.boot.admin.client", ignoreUnknownFields = false)
public class AdminClientProperties {
@Value("http://#{T(java.net.InetAddress).localHost.canonicalHostName}:${management.port:${server.port:8080}}${server.contextPath:/}${management.context-path:/}")
@Value("http://#{T(java.net.InetAddress).localHost.canonicalHostName}:${management.port:${server.port:8080}}${server.context-path:/}${management.context-path:/}")
private String url;
@Value("${spring.application.name:spring-boot-application}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment