fix: manifest - use absolute URL for start_url

v1.18.x
psychobunny 4 years ago
parent 46800b6639
commit 31528a5202

@ -248,7 +248,7 @@ Controllers.manifest = function (req, res, next) {
var manifest = {
name: meta.config.title || 'NodeBB',
short_name: meta.config['title:short'] || meta.config.title || 'NodeBB',
start_url: nconf.get('relative_path') + '/',
start_url: nconf.get('url'),
display: 'standalone',
orientation: 'portrait',
theme_color: meta.config.themeColor || '#ffffff',

Loading…
Cancel
Save