소스 검색

fix proxy test

tags/v0.2.0
Jonathan Cobb 5 년 전
부모
커밋
b399294898
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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 파일 보기

@@ -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");


불러오는 중...
취소
저장