Skip to content

Commit aa23227

Browse files
Merge pull request #59 from scennect/refactor/43
#54 Refactor: css 수정
2 parents 494e9c0 + 5179be3 commit aa23227

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

src/main/java/com/example/service/ImageServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public String generateTextToImage(String prompt) {
3535
HttpHeaders headers = new HttpHeaders();
3636
headers.setContentType(MediaType.APPLICATION_JSON);
3737

38-
String url = "https://2b6a-124-55-57-87.ngrok-free.app/generate-image"; // FastAPI 서버의 URL
38+
String url = "https://82d0-124-55-57-87.ngrok-free.app//generate-image"; // FastAPI 서버의 URL
3939

4040
String requestBody = "{\"prompt\": \"" + prompt + "\"}";
4141

src/main/resources/static/css/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
padding: 0;
77
}
88

9+
img {
10+
-webkit-user-drag: none;
11+
-khtml-user-drag: none;
12+
-moz-user-drag: none;
13+
-o-user-drag: none;
14+
user-drag: none;
15+
}
16+
917
body, html {
1018
margin: 0;
1119
height: 100%;

src/main/resources/static/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ <h3>Generate New Img</h3>
9898
<h2>Nodes:</h2>
9999
<div id="nodesList">
100100

101-
<div id="node-0" class="node-box test" style="top: 400px; left: 600px;">
102-
<div class="btn-wrap-close" onclick="deleteNode('node-0')"><button type="button" class="btn-close" aria-label="Close"></button></div>
103-
<div class="info">
104-
<p>Prompt:</p>
105-
<div class="prompt">Apple on the Table, oil painting</div>
106-
</div>
107-
<img src="https://hongik-s3.s3.amazonaws.com/42_10_7.5.png" alt="test node1" style="height: auto;">
108-
</div>
101+
<!-- <div id="node-0" class="node-box test" style="top: 400px; left: 600px;">-->
102+
<!-- <div class="btn-wrap-close" onclick="deleteNode('node-0')"><button type="button" class="btn-close" aria-label="Close"></button></div>-->
103+
<!-- <div class="info">-->
104+
<!-- <p>Prompt:</p>-->
105+
<!-- <div class="prompt">Apple on the Table, oil painting</div>-->
106+
<!-- </div>-->
107+
<!-- <img src="https://hongik-s3.s3.amazonaws.com/42_10_7.5.png" alt="test node1" style="height: auto;">-->
108+
<!-- </div>-->
109109

110110

111111
</div> <!-- 리스트를 div로 감싸서 박스 형태로 변경 -->

0 commit comments

Comments
 (0)