Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,16 @@ protected void doStart() throws SensorHubException
landingServlet = new LandingServlet(this, getSecurityHandler(), getLogger());

Map<String, String> initParams = new HashMap<>();
Map<String, String> initLandingParams = new HashMap<>();
initParams.put(SERVLET_PARAM_UI_CLASS, AdminUI.class.getCanonicalName());
if (config.widgetSet != null)
if (config.widgetSet != null){
initParams.put(WIDGETSET, config.widgetSet);
initLandingParams.put(WIDGETSET, config.widgetSet);
}
initParams.put("productionMode", "true"); // set to false to compile theme on-the-fly
initParams.put("heartbeatInterval", Integer.toString(HEARTBEAT_INTERVAL));

Map<String, String> initLandingParams = new HashMap<>();

initLandingParams.put(SERVLET_PARAM_UI_CLASS, LandingUI.class.getCanonicalName());
initLandingParams.put("productionMode", "true"); // set to false to compile theme on-the-fly
initLandingParams.put("heartbeatInterval", Integer.toString(HEARTBEAT_INTERVAL));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @author Kalyn Stricklin
* @since Feb 2025
*/
@Theme("valo")
@Theme("sensorhub")
@Title("OpenSensorHub Landing Page")
public class LandingUI extends UI{

Expand Down
Binary file not shown.
Loading