Selaa lähdekoodia

fix proxy test

tags/v0.2.0
Jonathan Cobb 5 vuotta sitten
vanhempi
commit
b399294898
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. +1
    -2
      bubble-server/src/main/java/bubble/service/cloud/DeviceIdService.java

+ 1
- 2
bubble-server/src/main/java/bubble/service/cloud/DeviceIdService.java Näytä tiedosto

@@ -44,8 +44,7 @@ public class DeviceIdService {
public Device findDeviceByIp (String ipAddr) {

if (!WG_DEVICES_DIR.exists()) {
if (configuration.testMode() && ipAddr.equals("127.0.0.1")) {
// this is a test
if (configuration.testMode()) {
return new Device().setAccount(accountDAO.getFirstAdmin().getUuid());
}
throw invalidEx("err.deviceDir.notFound");


Ladataan…
Peruuta
Tallenna