Skip to content

Commit

Permalink
Merge pull request #6506 from OCHA-DAP/dev
Browse files Browse the repository at this point in the history
dev into prod
  • Loading branch information
danmihaila authored Dec 23, 2024
2 parents e1cc16b + 6f35748 commit 8061730
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ckanext-hdx_theme/ckanext/hdx_theme/helpers/faq_wordpress.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ def replace_iframe_src(content):
content = re.sub(p, "\g<1>load-\g<2>\g<3>", content)
return content


def replace_centre_domain(content: str):
return content.replace('https://centre.innovation.humdata.org', config.get('hdx.wordpress.url'))


def process_content(content):
content = replace_iframe_src(content)
content = replace_centre_domain(content)
return content

# this is not used?
Expand Down
2 changes: 1 addition & 1 deletion ckanext-hdx_theme/ckanext/hdx_theme/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hdx_version = 'v1.86.1'
hdx_version = 'v1.86.2'

0 comments on commit 8061730

Please sign in to comment.