Skip to content

Commit

Permalink
#6: Fixed bug with context-path after upgrade to spring-boot 2.0 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
vapadwal authored and hohwille committed Oct 4, 2018
1 parent 63b3ad7 commit 5c875f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ServiceDiscovererImplConfig implements ServiceDiscoverer, Applicati
// @Value("${local.server.port}")
private int localServerPort;

@Value("${server.context-path:}")
@Value("${server.servlet.context-path:}")
private String contextPath;

private ServiceConfig config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# server.port=8080

spring.application.name=${rootArtifactId}
server.context-path=/
server.servlet.context-path=/

security.expose.error.details=false
security.cors.enabled=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# the config folder inside the WEB-INF/classes folder of the webapplication.

server.port=8081
server.context-path=/
server.servlet.context-path=/

# Datasource for accessing the database
# See https://github.com/oasp/oasp4j/wiki/guide-configuration#security
Expand Down

0 comments on commit 5c875f9

Please sign in to comment.