Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
‘niuerzhuang’ committed Dec 23, 2021
1 parent 1da01bf commit 5e86aec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ public boolean isNormalMode() {
return "normal".equals(getMode());
}

/**
* After version 1.1.4, change the default server mode to local.
* @return server mode
*/
private String getServerMode() {
if (null == serverMode) {
serverMode = System.getProperty("iast.server.mode", cfg.getProperty("iast.server.mode", "local"));
Expand Down

0 comments on commit 5e86aec

Please sign in to comment.