Repository navigation
feat: ajoute le favicon tokenlab - #8
Merged
Merged
Conversation
- Copie l'icône SVG et la version PNG 192 px de docs/ vers app/static/, ce qui active le montage /static déjà prévu dans main.py - Déclare le favicon (SVG + fallback PNG) et l'apple-touch-icon dans base.html - Utilise des chemins relatifs à la racine plutôt que url_for, qui générerait des URL http:// derrière un ingress qui termine le TLS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Mandrak-Kimigo <amaury.cormier@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Résumé
Ajoute l'icône du projet comme favicon de l'interface web.
app/static/favicon.svg: copie dedocs/tokenlab-icon.svg, favicon principalapp/static/favicon-192.png: copie dedocs/tokenlab-icon-192.png, fallback PNG etapple-touch-iconapp/templates/base.html: ajout des balises<link rel="icon">et<link rel="apple-touch-icon">Pas de changement Python ni Dockerfile :
main.pymonte déjà/staticdès que le dossier existe, etCOPY app ./appl'embarque dans l'image.Pourquoi des chemins en dur plutôt que
url_forEn production, le pod sert en HTTP derrière un ingress qui termine le TLS. Sans
--proxy-headers,url_forgénère des URL absolues enhttp://, que le navigateur bloque comme contenu mixte sur une page HTTPS. Des chemins relatifs à la racine (/static/...) reprennent automatiquement le schéma de la page.Limite : si l'app est un jour publiée sous un sous-chemin (
/tokenlab/), ces chemins devront être préfixés.🤖 Generated with Claude Code
Signed-off-by: Mandrak-Kimigo amaury.cormier@gmail.com