Skip to content

Commit

Permalink
Merge 43203ba into be3a2b1
Browse files Browse the repository at this point in the history
  • Loading branch information
jsavell committed Apr 6, 2020
2 parents be3a2b1 + 43203ba commit a516f23
Showing 1 changed file with 11 additions and 6 deletions.
Expand Up @@ -57,12 +57,17 @@ public Map<String, String> getThemeProperties() {
@EventListener(ApplicationReadyEvent.class)
public void initializeResources() {
if (initializeTheme) {
logger.debug("Initializing theme...");
try {
HttpUtility.makeHttpRequest(cssUrl, "GET");
} catch (IOException e) {
e.printStackTrace();
}
new Thread(new Runnable() {
@Override
public void run() {
logger.debug("Initializing theme...");
try {
HttpUtility.makeHttpRequest(cssUrl, "GET");
} catch (IOException e) {
e.printStackTrace();
}
}
}).start();
}
}
}

0 comments on commit a516f23

Please sign in to comment.