Skip to content

Commit

Permalink
#15 feat : ec2 메타데이터 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
Suanna01 committed Apr 15, 2023
1 parent a88349b commit 62b3680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
public class ZatchserverApplication {

public static void main(String[] args) {
// EC2 메타데이터 비활성화
System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true");
// 실행
SpringApplication.run(ZatchserverApplication.class, args);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.zatch.zatchserver.ResponseMessage;
import com.zatch.zatchserver.StatusCode;
import com.zatch.zatchserver.dto.PostChatReqDto;
import com.zatch.zatchserver.dto.PostUserTownReqDto;
import com.zatch.zatchserver.service.ChatService;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
Expand Down

0 comments on commit 62b3680

Please sign in to comment.