mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
feat: 编码签名
This commit is contained in:
parent
79184e81d7
commit
7af9f26aae
@ -43,7 +43,7 @@ function getHeaders() {
|
||||
}
|
||||
|
||||
export function validUser(signature: String) {
|
||||
return fetch(`//uc.zhiketong.net/api/check_user_white/?signature=${signature}`)
|
||||
return fetch(`//uc.zhiketong.net/api/check_user_white/?signature=${window.encodeURIComponent(`${signature}`)}`)
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user