mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FIX: Coalesce properly logos for the mobile manifest
This commit is contained in:
@ -13,7 +13,7 @@ class MetadataController < ApplicationController
|
|||||||
private
|
private
|
||||||
|
|
||||||
def default_manifest
|
def default_manifest
|
||||||
logo = SiteSetting.mobile_logo_url || SiteSetting.logo_small_url || SiteSetting.apple_touch_icon_url
|
logo = SiteSetting.mobile_logo_url.presence || SiteSetting.logo_small_url.presence || SiteSetting.apple_touch_icon_url.presence
|
||||||
|
|
||||||
manifest = {
|
manifest = {
|
||||||
name: SiteSetting.title,
|
name: SiteSetting.title,
|
||||||
|
Reference in New Issue
Block a user