refactor: #6 check update over one hour and debound scroll

This commit is contained in:
Yifei Zhang
2023-03-23 17:00:33 +00:00
parent 29de957395
commit 99b88f36fd
9 changed files with 85 additions and 46 deletions

View File

@@ -1,3 +1,5 @@
export const REPO_URL = "https://github.com/Yidadaa/ChatGPT-Next-Web";
export const UPDATE_URL =
"https://github.com/Yidadaa/ChatGPT-Next-Web#%E4%BF%9D%E6%8C%81%E6%9B%B4%E6%96%B0-keep-updated";
export const OWNER = "Yidadaa";
export const REPO = "ChatGPT-Next-Web";
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
export const UPDATE_URL = `${REPO_URL}#%E4%BF%9D%E6%8C%81%E6%9B%B4%E6%96%B0-keep-updated`;
export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;