Fixing scope of webmanifest.

This commit is contained in:
Samuel Clay 2022-01-20 12:16:12 -05:00
parent e2ea1dc8d3
commit 81516fd93b
3 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@
"display": "standalone",
"id": ".",
"start_url": ".",
"scope": "https://newsblur.com/",
"scope": "/",
"background_color": "#F6F8F0",
"theme_color": "#F6F8F0",
"icons": [

View file

@ -168,7 +168,7 @@ _.extend(NEWSBLUR.ReaderFriends.prototype, {
if (this.recommended_users && this.recommended_users.length) {
_.each(this.recommended_users, function(profile) {
var profile_model = new NEWSBLUR.Models.User(profile);
$profile_badge = new NEWSBLUR.Views.SocialProfileBadge({
var $profile_badge = new NEWSBLUR.Views.SocialProfileBadge({
model: profile_model
});
$findlist.append($profile_badge);
@ -483,4 +483,4 @@ _.extend(NEWSBLUR.ReaderFriends.prototype, {
});
}
});
});

View file

@ -801,11 +801,11 @@ PIPELINE = {
'PIPELINE_COLLECTOR_ENABLED': not DEBUG_ASSETS,
'SHOW_ERRORS_INLINE': DEBUG_ASSETS,
'CSS_COMPRESSOR': 'pipeline.compressors.yuglify.YuglifyCompressor',
'JS_COMPRESSOR': 'pipeline.compressors.closure.ClosureCompressor',
# 'JS_COMPRESSOR': 'pipeline.compressors.closure.ClosureCompressor',
# 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
# 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
'CLOSURE_BINARY': '/usr/bin/java -jar node_modules/google-closure-compiler-java/compiler.jar',
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2021',# --warning_level QUIET',
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --warning_level VERBOSE',
'JAVASCRIPT': {
'common': {
'source_filenames': assets['javascripts']['common'],