Skip to content
Snippets Groups Projects
Unverified Commit c45898f3 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

MAINT: removed hard coded admin email

parent a9302c49
No related branches found
No related tags found
No related merge requests found
caosdb-webui @ 7df3c8cd
Subproject commit 2a6d74d7cb6bed89b2e7a0e5801ff4c040a3ebf8 Subproject commit 7df3c8cdf945e5b98df8b04a084fabbdaf058946
...@@ -277,17 +277,12 @@ public class CaosDBServer extends Application { ...@@ -277,17 +277,12 @@ public class CaosDBServer extends Application {
// Create an application (this class). // Create an application (this class).
final Application application = new CaosDBServer(); final Application application = new CaosDBServer();
application.getStatusService().setContactEmail("timm.fitschen@ds.mpg.de"); application.getStatusService().setContactEmail(getServerProperty(ServerProperties.KEY_ADMIN_EMAIL));
application application
.getStatusService() .getStatusService()
.setHomeRef(new Reference(getServerProperty(ServerProperties.KEY_CONTEXT_ROOT) + "/")); .setHomeRef(new Reference(getServerProperty(ServerProperties.KEY_CONTEXT_ROOT) + "/"));
// Attach the application to the component with a defined contextRoot. // Attach the application to the component with a defined contextRoot.
application.getStatusService().setContactEmail("timm.fitschen@ds.mpg.de");
application
.getStatusService()
.setHomeRef(new Reference(getServerProperty(ServerProperties.KEY_CONTEXT_ROOT) + "/"));
component component
.getDefaultHost() .getDefaultHost()
.attach(getServerProperty(ServerProperties.KEY_CONTEXT_ROOT), application); .attach(getServerProperty(ServerProperties.KEY_CONTEXT_ROOT), application);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment