diff --git a/default/config.yaml b/default/config.yaml index 355573d96..0b679f7c2 100644 --- a/default/config.yaml +++ b/default/config.yaml @@ -48,6 +48,12 @@ allowKeysExposure: false skipContentCheck: false # Disable automatic chats backup disableChatBackup: false +# Allowed hosts for card downloads +whitelistImportDomains: + - localhost + - cdn.discordapp.com + - files.catbox.moe + - raw.githubusercontent.com # API request overrides (for KoboldAI and Text Completion APIs) ## Note: host includes the port number if it's not the default (80 or 443) ## Format is an array of objects: diff --git a/public/script.js b/public/script.js index 32384135d..3bc2259cb 100644 --- a/public/script.js +++ b/public/script.js @@ -10542,9 +10542,7 @@ jQuery(async function () {
  • JanitorAI Character (Direct Link or UUID)
    Example: ddd1498a-a370-4136-b138-a8cd9461fdfe_character-aqua-the-useless-goddess
  • Pygmalion.chat Character (Direct Link or UUID)
    Example: a7ca95a1-0c88-4e23-91b3-149db1e78ab9
  • AICharacterCard.com Character (Direct Link or ID)
    Example: AICC/aicharcards/the-game-master
  • -
  • Catbox.moe Character image link
    Example: https://files.catbox.moe/notarealfile.png
  • -
  • Discord Character image link
    Example: https://cdn.discordapp.com/attachments/.../alsonotreal.png?...
  • -
  • More coming soon...
  • +
  • Direct PNG Link (refer to config.yaml for allowed hosts)
    Example: https://files.catbox.moe/notarealfile.png