Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Fixed bug with context-path after upgrade to spring-boot 2.0 #683 (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
vapadwal authored and hohwille committed Oct 11, 2018
1 parent d6bb427 commit b5b692e
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 b5b692e

Please sign in to comment.