Skip to content

Commit

Permalink
fix: Use http rather than https in toolbar sites menu (#7331)
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Jun 1, 2022
1 parent 994f928 commit 174e8d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ unreleased
* Added dark mode support to css
* Fix publishing of static placeholders outside of CMS pages
* Allow to override the template rendered after a plugin has been saved.
* Revert change to the toolbar sites menu to use ``http`` protocol.

3.10.0 (2022-03-26)
===================
Expand Down
2 changes: 1 addition & 1 deletion cms/cms_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def add_admin_menu(self):
sites_menu.add_sideframe_item(_('Admin Sites'), url=admin_reverse('sites_site_changelist'))
sites_menu.add_break(ADMIN_SITES_BREAK)
for site in sites_queryset:
sites_menu.add_link_item(site.name, url='https://%s' % site.domain,
sites_menu.add_link_item(site.name, url='http://%s' % site.domain,
active=site.pk == self.current_site.pk)

# admin
Expand Down

0 comments on commit 174e8d0

Please sign in to comment.