This commit is contained in:
Grahame Grieve 2024-10-18 16:42:28 +08:00
parent 5117b57305
commit 242bc02372
1 changed files with 9 additions and 0 deletions

View File

@ -117,6 +117,15 @@ public class ManagedWebAccessBuilder {
}
private ServerDetailsPOJO getServer(String url) {
for (ServerDetailsPOJO t : serverAuthDetails) {
if (url.startsWith(t.getUrl())) {
return t;
}
}
return null;
}
public HTTPResult get(String url) throws IOException {
switch (ManagedWebAccess.getAccessPolicy()) {
case DIRECT: