This repository has been archived by the owner on May 18, 2024. It is now read-only.
forked from ikreymer/via
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
72 lines (62 loc) · 2.4 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
pdf_viewer: &pdf_viewer 'pdfjs_viewer.html'
collections:
'':
index_paths: $liveweb
wb_handler_class: !!python/name:via.rewriter.TemplateRewriteHandler
templates:
'application/pdf': *pdf_viewer
'application/x-pdf': *pdf_viewer
#frame_insert_html: ./templates/frame_insert.html
#head_insert_html: ./templates/head_insert.html
redir_to_exact: false
cookie_scope: "root"
rewrite_opts:
rewrite_rel_canon: false
client:
no_rewrite_prefixes:
- "http://sense.tw/"
- "https://sense.tw/"
- "http://api.sense.tw/"
- "https://api.sense.tw/"
- "http://staging.sense.tw/"
- "https://staging.sense.tw/"
- 'http://localhost:5000/' # Hypothesis dev server
- 'http://localhost:3001/' # Hypothesis client dev server
- 'https://hypothes.is/'
- 'https://qa.hypothes.is/'
- 'https://cdn.hypothes.is/'
- '/assets/'
no_rewrite_domain:
- "sense.tw"
- "doubleclick.net"
- "amp-error-reporting.appspot.com"
- "ampproject.org"
- "cdnjs.cloudflare.com"
- "gstatic.com"
- "googlesyndication.com"
- "gstatic.com"
- "google-analytics.com"
- "unpkg.com"
- "facebook.com"
- "facebook.net"
- "bootstrapcdn.com"
- "youtube.com"
- "googletagmanager.com"
- "googletagservices.com"
- "google.com"
- "google.com.tw"
- "googleapis.com"
- "alexametrics.com"
- "scorecardresearch.com"
- "fbcdn.net"
- "scupio.com"
- "popin.cc"
- "popincdn.com"
#skip_createElement: true
http_cache: pass
#skip_setAttribute: true
#skip_dom: true
#skip_postmessage: true
search_html: index.html
home_html: index.html
framed_replay: false