mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-16 04:58:01 +00:00
Add configurable defaults for gravatarproxy and gravatarredirect
This commit is contained in:
@@ -48,3 +48,18 @@ import os
|
||||
# Bluesky integration credentials
|
||||
# BLUESKY_IDENTIFIER = "your-bluesky-handle"
|
||||
# BLUESKY_APP_PASSWORD = "your-app-password"
|
||||
|
||||
# Gravatar proxy and redirect settings
|
||||
# These control the default behavior when no local avatar is found
|
||||
# URL parameters (?gravatarproxy=n&gravatarredirect=y) will override these defaults
|
||||
|
||||
# For private/local instances that should not make external requests:
|
||||
# DEFAULT_GRAVATARPROXY = False
|
||||
# DEFAULT_GRAVATARREDIRECT = False
|
||||
|
||||
# For instances that prefer direct Gravatar redirects:
|
||||
# DEFAULT_GRAVATARREDIRECT = True
|
||||
# DEFAULT_GRAVATARPROXY = False
|
||||
|
||||
# For testing/development (always use default avatars):
|
||||
# FORCEDEFAULT = True
|
||||
|
||||
Reference in New Issue
Block a user