Adding support for content prefixes in origins

pull/400/merge
Kevin Payravi 2024-01-07 04:27:57 -06:00
parent 6519d31d52
commit 884fe62457
3 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@ async function getData() {
"destination": site.destination,
"destination_base_url": site.destination_base_url,
"destination_search_path": site.destination_search_path,
"destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""),
"destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "",
"destination_platform": site.destination_platform,
"destination_icon": site.destination_icon,
"destination_main_page": site.destination_main_page,

View File

@ -30,7 +30,7 @@ async function getData() {
"destination": site.destination,
"destination_base_url": site.destination_base_url,
"destination_search_path": site.destination_search_path,
"destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""),
"destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "",
"destination_platform": site.destination_platform,
"destination_icon": site.destination_icon,
"destination_main_page": site.destination_main_page,

View File

@ -45,7 +45,7 @@ async function getData() {
"destination": site.destination,
"destination_base_url": site.destination_base_url,
"destination_search_path": site.destination_search_path,
"destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""),
"destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "",
"destination_platform": site.destination_platform,
"destination_icon": site.destination_icon,
"destination_main_page": site.destination_main_page,