forked from ikreymer/via
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
42 lines (31 loc) · 1.11 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pdf_redir: &pdf_redir '/static/__shared/viewer/web/viewer.html?file={0}'
collections:
'':
index_paths: $liveweb
wb_handler_class: !!python/name:pywb_h.CustomRedirHandler
redirects:
'application/pdf': *pdf_redir
'application/x-pdf': *pdf_redir
#frame_insert_html: ./templates/frame_insert.html
#head_insert_html: ./templates/head_insert.html
redir_to_exact: false
#cookie_scope: host
rewrite_opts:
rewrite_rel_canon: false
client:
no_rewrite_prefixes:
- 'https://hypothes.is/'
- '/assets/'
#skip_createElement: true
http_cache: pass
#skip_setAttribute: true
#skip_dom: true
#skip_postmessage: true
# redirect old path to root
h: !!python/object:pywb_h.SimpleRedirHandler { redir_path: '/', status: '301 Permanent Redirect' }
search_html: index.html
home_html: index.html
static_routes:
static/__pywb: pywb/static/
static/ann: ./static/
framed_replay: false