mirror of
https://github.com/smittix/intercept.git
synced 2026-06-02 03:03:37 -07:00
Default dashboard assets/fonts to local bundles
This commit is contained in:
+3
-2
@@ -11,8 +11,9 @@ offline_bp = Blueprint('offline', __name__, url_prefix='/offline')
|
|||||||
# Default offline settings
|
# Default offline settings
|
||||||
OFFLINE_DEFAULTS = {
|
OFFLINE_DEFAULTS = {
|
||||||
'offline.enabled': False,
|
'offline.enabled': False,
|
||||||
'offline.assets_source': 'cdn',
|
# Default to bundled assets/fonts to avoid third-party CDN privacy blocks.
|
||||||
'offline.fonts_source': 'cdn',
|
'offline.assets_source': 'local',
|
||||||
|
'offline.fonts_source': 'local',
|
||||||
'offline.tile_provider': 'cartodb_dark_cyan',
|
'offline.tile_provider': 'cartodb_dark_cyan',
|
||||||
'offline.tile_server_url': ''
|
'offline.tile_server_url': ''
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ const Settings = {
|
|||||||
// Default settings
|
// Default settings
|
||||||
defaults: {
|
defaults: {
|
||||||
'offline.enabled': false,
|
'offline.enabled': false,
|
||||||
'offline.assets_source': 'cdn',
|
'offline.assets_source': 'local',
|
||||||
'offline.fonts_source': 'cdn',
|
'offline.fonts_source': 'local',
|
||||||
'offline.tile_provider': 'cartodb_dark_cyan',
|
'offline.tile_provider': 'cartodb_dark_cyan',
|
||||||
'offline.tile_server_url': ''
|
'offline.tile_server_url': ''
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user