diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-30 19:11:14 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-30 19:11:14 +0200 |
| commit | 097f38001543c3e59a803b8b8fd01ef4e3572035 (patch) | |
| tree | 701624eb55c8611ae65486984c64da7b6b5c09ea /cli | |
| parent | 457e6b8ad269815c206d1eada684d0678fa0c40a (diff) | |
last minute mobile fixes
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/app/site/export.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/app/site/export.py b/cli/app/site/export.py index d5027e6..2f5f2b1 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -123,7 +123,8 @@ def sanitize_graph(graph): elif tile['target_page_id'] > 0: tile['href'] = page_path_lookup[tile['target_page_id']] if 'url' in tile['settings'] and tile['settings']['url'].startswith('/static'): - tile['settings']['url'] = '/' + graph['path'] + tile['settings']['url'] + # tile['settings']['url'] = '/' + graph['path'] + tile['settings']['url'] + tile['settings']['url'] = 'https://marsupial.s3.amazonaws.com/' + graph['path'] + tile['settings']['url'] if len(tile['settings'].get('appear_after', "")): tile['settings']['appear_after'] = timestampToSeconds(tile['settings']['appear_after']) or 0 sanitize_tile(tile) |
