remove app.contextPath setting

This commit is contained in:
Athou
2014-10-28 16:39:48 +01:00
parent 24bd1121af
commit 6498130850
6 changed files with 1 additions and 16 deletions

View File

@@ -1,9 +1,6 @@
# CommaFeed settings
# ------------------
app:
# context path of the application
contextPath: /
# url used to access commafeed
publicUrl: https://@OPENSHIFT_APP_DNS@/

View File

@@ -1,5 +1,6 @@
v 2.1.0
- dropwizard upgrade to 0.8.0
- remove our custom app.contextPath setting from config, use server.applicationContextPath from dropwizard instead
v 2.0.3
- internet explorer ajax cache workaround
- categories are now deletable again

View File

@@ -1,9 +1,6 @@
# CommaFeed settings
# ------------------
app:
# context path of the application
contextPath: /
# url used to access commafeed
publicUrl: http://localhost:8082/

View File

@@ -1,9 +1,6 @@
# CommaFeed settings
# ------------------
app:
# context path of the application
contextPath: /
# url used to access commafeed
publicUrl: http://localhost:8082/

View File

@@ -105,9 +105,6 @@ public class CommaFeedApplication extends Application<CommaFeedConfiguration> {
@Override
public void run(CommaFeedConfiguration config, Environment environment) throws Exception {
// configure context path
environment.getApplicationContext().setContextPath(config.getApplicationSettings().getContextPath());
// guice init
Injector injector = Guice.createInjector(new CommaFeedModule(hibernateBundle.getSessionFactory(), config, environment.metrics()));

View File

@@ -62,10 +62,6 @@ public class CommaFeedConfiguration extends Configuration {
@Getter
public static class ApplicationSettings {
@NotNull
@NotBlank
private String contextPath;
@NotNull
@NotBlank
private String publicUrl;