add headers.json and fix relative singlefile path resolving for sonic

This commit is contained in:
Nick Sweeting 2021-01-30 21:58:38 -05:00
parent c089501073
commit 24e24934f7
2 changed files with 3 additions and 1 deletions

View file

@ -427,6 +427,7 @@ class Link:
'archive_org_path': 'https://web.archive.org/web/{}'.format(self.base_url),
'git_path': 'git/',
'media_path': 'media/',
'headers_path': 'headers.json',
}
if self.is_static:
# static binary files like PDF and images are handled slightly differently.