Variable DEFAULT_ANILIST_CONFIGConst

DEFAULT_ANILIST_CONFIG: {
    clientId: string;
    clientSecret: string;
    redirectUri: string;
    authorizationEndpoint: string;
    tokenEndpoint: string;
} = ...

Default AniList API credentials and endpoints. These can be overridden by user settings.

Type declaration

  • clientId: string
  • clientSecret: string
  • redirectUri: string
  • authorizationEndpoint: string
  • tokenEndpoint: string
export const DEFAULT_ANILIST_CONFIG = {
clientId: clientId,
clientSecret: clientSecret,
redirectUri: `http://localhost:${DEFAULT_AUTH_PORT}/callback`,
authorizationEndpoint: "https://anilist.co/api/v2/oauth/authorize",
tokenEndpoint: "https://anilist.co/api/v2/oauth/token",
};