missed code

This commit is contained in:
Grahame Grieve 2024-10-18 20:51:03 +08:00
parent 6694be1ffe
commit 17afe7c7e6
1 changed files with 5 additions and 3 deletions

View File

@ -118,9 +118,11 @@ public class ManagedWebAccessBuilder {
private ServerDetailsPOJO getServer(String url) {
for (ServerDetailsPOJO t : serverAuthDetails) {
if (url.startsWith(t.getUrl())) {
return t;
if (serverAuthDetails != null) {
for (ServerDetailsPOJO t : serverAuthDetails) {
if (url.startsWith(t.getUrl())) {
return t;
}
}
}
return null;