fix: manifest - use absolute URL for start_url

This commit is contained in:
psychobunny
2020-09-28 17:06:25 -04:00
parent 46800b6639
commit 31528a5202

View File

@@ -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',