Spaces:
Paused
Paused
Update hf.js
Browse files
hf.js
CHANGED
|
@@ -20,14 +20,16 @@ app.get('/', (req, res) => {
|
|
| 20 |
<title>My Static Page</title>
|
| 21 |
</head>
|
| 22 |
<body>
|
| 23 |
-
<p>
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
<script>
|
| 28 |
const url = new URL(window.location.href);
|
| 29 |
const link = url.protocol + '//' + url.host + '/hf/v1';
|
| 30 |
-
document.getElementById('endpoint-url').textContent =
|
| 31 |
</script>
|
| 32 |
</body>
|
| 33 |
</html>
|
|
|
|
| 20 |
<title>My Static Page</title>
|
| 21 |
</head>
|
| 22 |
<body>
|
| 23 |
+
<p>
|
| 24 |
+
Cursor To OpenAI Server <br />
|
| 25 |
+
聊天来源: 自定义(兼容 OpenAI) <br />
|
| 26 |
+
自定义端点(基本URL):<span id="endpoint-url"></span> <br />
|
| 27 |
+
自定义API密钥:「抓取的Cursor Cookie,开头为user_」<br />
|
| 28 |
+
</p>
|
| 29 |
<script>
|
| 30 |
const url = new URL(window.location.href);
|
| 31 |
const link = url.protocol + '//' + url.host + '/hf/v1';
|
| 32 |
+
document.getElementById('endpoint-url').textContent = link;
|
| 33 |
</script>
|
| 34 |
</body>
|
| 35 |
</html>
|