pdf_redir: &pdf_redir '/static/ann/viewer/web/viewer.html?file=/h/id_/{0}'


collections:
    h:
        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
        search_html: ./templates/index.html
        redir_to_exact: false

        cookie_scope: default

        rewrite_opts:
            rewrite_rel_canon: false
            rewrite_base: false

home_html: ./templates/index.html

static_routes:
    static/default: pywb/static/
    static/ann: ./static/

framed_replay: false

debug_echo_env: true
debug_echo_req: true

pdf_redir: &pdf_redir '/static/ann/viewer/web/viewer.html?file=/h/id_/{0}'


collections:
    h:
        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
        search_html: ./templates/index.html
        redir_to_exact: false

        cookie_scope: default

        rewrite_opts:
            rewrite_rel_canon: false
            rewrite_base: false

home_html: ./templates/index.html

static_routes:
    static/default: pywb/static/
    static/ann: ./static/

framed_replay: false

Revert "add debug routes to help trace redir issues"
Revert "add debug routes to help trace redir issues"

This reverts commit 8744655d000f24b08bb5738ba4a4ddfbe5957b41.

Rather not have these in production.
