Skip to content

Commit 227dff0

Browse files
committed
면책 조항 추가 및 소소한 개선
1 parent bf9cb46 commit 227dff0

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

check.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ function doCheckHost(){
99

1010
fetch(`./api.php?host=${in_host}&h=${check_cdn ? "yes" : "no"}&resolve=${check_ip6 ? "v6" : "v4"}`)
1111
.then(response => {
12-
if (!response.ok) {
13-
throw new Error('Network response was not ok');
14-
}
15-
12+
if (!response.ok) {throw new Error(`오류 발생: ${response.statusText}`);}
1613
return response.json();
1714
}).then(data => {
1815
var resList = document.getElementById("result-list");
19-
resList.innerHTML = "";
16+
resList.innerHTML = "불러오는 중...";
2017

2118
var hostInfoHead = document.getElementById("host-head");
2219
hostInfoHead.textContent = `${data.hostname}에 대한 결과`;

index.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
</div>
3333
</div>
3434

35+
<hr style="margin: 1em auto; width: 100%;" />
3536

37+
<p id="disclaimer-ko">
38+
면책 조항: 이 앱은 비공식이며, <a href="https://www.cloudflare.com/">Cloudflare Inc.</a>와 직접적인 연관이 없습니다.<br />
39+
이 앱은 <a href="https://developers.cloudflare.com/api/">Cloudflare의 공식 API</a>를 사용하지 않으며, 단순히 DNS 레코드를 조회하여 Cloudflare 사용 여부를 판단합니다.<br />
40+
</p>
41+
<p id="disclaimer-en">
42+
<i>Disclaimer: This app is unofficial and is not affiliated with <a href="https://www.cloudflare.com/">Cloudflare Inc.</a><br />
43+
It does not use <a href="https://developers.cloudflare.com/api/">Cloudflare's official API</a> and simply checks DNS records to determine if a site is using Cloudflare.<br /></i>
44+
</p>
3645
</body>
3746
</html>

0 commit comments

Comments
 (0)