Skip to main content

Thumbor add serve request for favicon.ico handler.

Project description

thumbor-icon-handler

A thumbor handler for serve favicon.icon request

Installation

pip install thumbor-icon-handler

Contribution

You can make a pull requests[HERE]https://github.com/jjonline/thumbor-icon-handler/pulls, thank you for your contribution.

# Configuration

HANDLER_LISTS settings

HANDLER_LISTS = [
  'thumbor.handler_lists.healthcheck',
  'thumbor.handler_lists.upload',
  'thumbor.handler_lists.blacklist',
  # Add this config
  'thumbor_icon_handler.icon',
]

Optionally specify a local favicon.ico file

You can use the favicon.ico file in the local file system, or you can ignore this configuration item and use the favicon.ico file in the Loader

# specify your local filesystem favicon.ico file full path
# for example /srv/file/favicon.ico
ICON_IMAGE_LOCAL_PATH = ''

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thumbor-icon-handler-0.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

thumbor_icon_handler-0.0.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file thumbor-icon-handler-0.0.1.tar.gz.

File metadata

  • Download URL: thumbor-icon-handler-0.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for thumbor-icon-handler-0.0.1.tar.gz
Algorithm Hash digest
SHA256 46a42a44bb155ec792be21417ed1321b3e25c91f696c5e59baac9db655782663
MD5 952be30c44a16a8082d09e82031d3649
BLAKE2b-256 8fd5eaf03fad3991910ea6b9b1f64d1d1cc8cd3f48f0cf55e5b995aab1e64b8a

See more details on using hashes here.

File details

Details for the file thumbor_icon_handler-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for thumbor_icon_handler-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e485fc2f75f025acf96c2f9f77998994b4b1f197c7e2cb92ccf6cf9ab406f3f9
MD5 0a234e6b6b565fe413fe6c6d7d77e0f7
BLAKE2b-256 2d41f62baf8647dc61d3381e06e5120849a8a9ed04871a00cd4789e15f4d58d4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page