Skip to content

Commit

Permalink
python 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeg00 committed May 31, 2024
1 parent 3073827 commit fe5cb6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/com/example/just/JustApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableElasticsearchRepositories(
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/example/just/Service/PostService.java
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public ResponseGetPost searchByCursorMember(String cursor, Long limit, Long memb
randomIndex = random.nextInt(arrayLength);
String randonHashTagName = likePostHashTagName.get(randomIndex);
// 요청을 보낼 URL 설정
HttpGet request = new HttpGet("http://34.22.67.43:8081/api/similar_words/" + randonHashTagName);
HttpGet request = new HttpGet("http://127.0.0.1:8081/api/similar_words/" + randonHashTagName);

// 요청 실행 및 응답 수신
HttpResponse response = httpClient.execute(request);
Expand Down

0 comments on commit fe5cb6a

Please sign in to comment.