JiuZZZ commited on
Commit
6d38c7a
·
verified ·
1 Parent(s): c78e699

Update hf.js

Browse files
Files changed (1) hide show
  1. hf.js +7 -5
hf.js CHANGED
@@ -20,14 +20,16 @@ app.get('/', (req, res) => {
20
  <title>My Static Page</title>
21
  </head>
22
  <body>
23
- <p> Cursor To OpenAI Server </p>
24
- <p> 聊天来源: 自定义(兼容 OpenAI) </p>
25
- <p> 自定义端点(基本URL):<div id="endpoint-url"></div></p>
26
- <p> 自定义API密钥:「抓取的Cursor Cookie,开头为user_」</p>
 
 
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 = 'Dynamic URL: ' + link;
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>