Skip to content

Commit

Permalink
get tis host adn assemble host from local net host when in docker con…
Browse files Browse the repository at this point in the history
…tainer
  • Loading branch information
baisui1981 committed Apr 22, 2024
1 parent 8df85f3 commit a404128
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ private static abstract class LocalResBasedPropertyGetter extends P {
@Override
protected final String getProp(String key) {
if (KEY_ASSEMBLE_HOST.equals(key) || KEY_TIS_HOST.equals(key)) {
if (BasicConfig.inDockerContainer()) {
if (!BasicConfig.inDockerContainer()) {
return NetUtils.getHost();
}
}
Expand Down

0 comments on commit a404128

Please sign in to comment.