Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Commit dc00250

Browse files
committed
update index.html
1 parent 7c8ffc1 commit dc00250

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

index.html

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css" rel="stylesheet">
1313
<script defer src="https://cdn.bootcdn.net/ajax/libs/alpinejs/3.12.0/cdn.min.js"></script>
1414
<link href="/assets/css/style.css" rel="stylesheet">
15-
1615
</head>
1716

1817
<body>
@@ -37,24 +36,11 @@
3736
</div>
3837
</div>
3938
</nav>
40-
<<<<<<< HEAD
41-
<main>
42-
<h1>OpenAI API Proxy</h1>
43-
<br />
44-
<p x-data="{ origin: '' }" x-init="origin = window.location.origin">
45-
使用方法把官方的api连接: https://api.openai.com <br />
46-
47-
改为 <span class="proxy" x-text="origin" @click="copyToClipboard(origin)"></span> 即可
48-
</p>
49-
<br /><br />
50-
<p>演示站为公共服务,如有大规模使用需求请自行部署,演示站有点不堪重负</p>
51-
</main>
52-
=======
5339
<div class="container kv-main">
5440
<div class="page-header" x-data="{ origin: '' }" x-init="origin = window.location.origin">
5541
<h2>查询 OpenaiAPI 余额</h2>
5642
<p>API接口: <span class="proxy" x-text="origin" @click="copyToClipboard(origin)"></span>
57-
;支持批量查询,一行一个;点击清理可以清理失效的key。<a style="text-decoration: none;" href="/about.html">Authorization获取方法</a></p>
43+
;支持批量查询,一行一个;点击清理可以清理失效的key。<a style="text-decoration: none;" href="/about.html">Authorization获取方法</a> </p>
5844
</div>
5945
<main x-data="app" x-cloak>
6046
<p x-show.transition.opacity="alert" :class="alert?.type" x-text="alert?.message"></p>
@@ -64,6 +50,7 @@ <h2>查询 OpenaiAPI 余额</h2>
6450
@click="submit($refs)">查询</button>
6551
<button class="btn btn-secondary" @click="clear">清理</button>
6652
</div>
53+
<p></p>
6754
<div x-show.transition.opacity="total && total.length > 0" x-cloak class="card mb-3">
6855
<div class="card-body table-responsive">
6956
<table class="table">
@@ -92,12 +79,19 @@ <h2>查询 OpenaiAPI 余额</h2>
9279
<td x-text="item.endDate"></td>
9380
</tr>
9481
</template>
95-
>>>>>>> pages
9682

83+
</tbody>
84+
</table>
85+
</div>
86+
</div>
87+
</main>
88+
<div class="page-footer"></div>
9789

9890
</div>
9991
<footer class="footer">
10092
<div class="container text-center">
93+
<!-- <p class="text-muted" x-data="ip" x-init='$nextTick(() => {getipinfo()})' x-show.transition.opacity="ipinfo"
94+
x-text="ipinfo"></p> -->
10195
<p>本程序基于Cloudflare Pages,开源于GitHub <a href="https://github.com/x-dr/chatgptProxyAPI"
10296
target="_blank">chatgptProxyAPI</a></p>
10397
</div>
@@ -106,4 +100,4 @@ <h2>查询 OpenaiAPI 余额</h2>
106100
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.min.js"></script>
107101
</body>
108102

109-
</html>
103+
</html>

0 commit comments

Comments
 (0)