mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 05:40:52 +08:00
FIX: start_url was wrong in non-subfolder
This commit is contained in:
parent
525931b77e
commit
51cb38783e
|
@ -24,7 +24,7 @@ class MetadataController < ApplicationController
|
|||
short_name: SiteSetting.title,
|
||||
display: 'standalone',
|
||||
orientation: 'any',
|
||||
start_url: "#{Discourse.base_uri}/",
|
||||
start_url: Discourse.base_uri.present? ? "#{Discourse.base_uri}/" : '.',
|
||||
background_color: "##{ColorScheme.hex_for_name('secondary')}",
|
||||
theme_color: "##{ColorScheme.hex_for_name('header_background')}",
|
||||
icons: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user