From d0bc3d42f83373059eaf83e7670ebe9fbf730a10 Mon Sep 17 00:00:00 2001 From: Nathan Reed Date: Wed, 6 Sep 2023 21:06:56 -0400 Subject: [PATCH] fix(opengraph): missing slash --- cl/opinion_page/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl/opinion_page/views.py b/cl/opinion_page/views.py index b20c192c29..ed96301326 100644 --- a/cl/opinion_page/views.py +++ b/cl/opinion_page/views.py @@ -522,7 +522,7 @@ def view_recap_document( note_form = NoteForm(instance=note) # Override the og:url if we're serving a request to an OG crawler bot - og_file_path_override = rd.filepath_local if is_og_bot else None + og_file_path_override = f"/{rd.filepath_local}" if is_og_bot else None return TemplateResponse( request,