misc: put full URLs in menu.json (#24303)
This commit is contained in:
parent
3014c4a68c
commit
6de4c87557
|
@ -615,7 +615,7 @@ class MenuJson(HomepageView):
|
|||
menu_entries.append({
|
||||
'label': unicode(entry['label']),
|
||||
'slug': entry.get('slug', ''),
|
||||
'url': unicode(entry['href']),
|
||||
'url': request.build_absolute_uri(unicode(entry['href'])),
|
||||
})
|
||||
return menu_entries
|
||||
|
||||
|
|
Loading…
Reference in New Issue