constant.ts 711 B

123456789101112131415161718
  1. export const OWNER = "Yidadaa";
  2. export const REPO = "ChatGPT-Next-Web";
  3. export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
  4. export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
  5. export const UPDATE_URL = `${REPO_URL}#keep-updated`;
  6. export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;
  7. export const FETCH_TAG_URL = `https://api.github.com/repos/${OWNER}/${REPO}/tags?per_page=1`;
  8. export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
  9. export enum Path {
  10. Home = "/",
  11. Chat = "/chat",
  12. Settings = "/settings",
  13. }
  14. export const MAX_SIDEBAR_WIDTH = 500;
  15. export const MIN_SIDEBAR_WIDTH = 230;
  16. export const NARROW_SIDEBAR_WIDTH = 100;