diff --git a/CHANGELOG.md b/CHANGELOG.md index 09d58a3..4d5dbcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +##### 2.7.7 (11 mai 2026) + +- Suppression des mentions sur les profils d'acheteur. Omnikles/Safetender publie via l'API DUME et Klekoon ne publie pas, mais c'est peut-être pas le seul, donc je préfère supprimer et refaire un tour. + ##### 2.7.6 (5 mai 2026) - Correction du problème de filtre par date dans les tableaux diff --git a/pyproject.toml b/pyproject.toml index e5a73b1..a1e0f52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "decp.info" description = "Interface d'exploration et d'analyse des marchés publics français." -version = "2.7.6" +version = "2.7.7" requires-python = ">= 3.10" authors = [{ name = "Colin Maudry", email = "colin@colmo.tech" }] dependencies = [ diff --git a/run.py b/run.py index a3e312a..2e22e04 100644 --- a/run.py +++ b/run.py @@ -3,7 +3,8 @@ from flask_cors import CORS from src.app import app # To use `gunicorn run:server` (prod) -server = CORS(app.server) +server = app.server +CORS(server) # To use `python run.py` (dev) if __name__ == "__main__": diff --git a/src/app.py b/src/app.py index 5e9e490..40a40d5 100644 --- a/src/app.py +++ b/src/app.py @@ -145,7 +145,13 @@ navbar = dbc.Navbar( style={"minWidth": "230px"}, ), dbc.Nav( - children=[dcc.Markdown(os.getenv("ANNOUNCEMENTS"), id="announcements")], + children=[ + dcc.Markdown( + os.getenv("ANNOUNCEMENTS"), + id="announcements", + dangerously_allow_html=True, + ), + ], style={ "maxWidth": "1200px", "display": "inline-block",