Sitecof: Récriture des URLs publiques #752
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ class COFRewriteUrlMixin:
|
|||
pattern = getattr(settings, "SITECOF_INTERNAL_URL", r"^/(en/|fr/|)sitecof/")
|
||||
replace = getattr(settings, "SITECOF_PUBLIC_URL", "/\\1news/")
|
||||
|
||||
print(pattern, replace, page_path)
|
||||
page_path = re.sub(pattern, replace, page_path)
|
||||
|
||||
return (site_id, root_url, page_path)
|
||||
|
|
Loading…
Reference in a new issue