| { |
| Kalamar => { |
| ## Backend server path |
| # api_path => 'https://korap.example.org/api/', |
| # plugins => ["Auth"], |
| ## Backend API version |
| # api_version => '1.0', |
| |
| ## If the application is run behind a proxy, ignore the forwarded host |
| # proxy_host => 0, |
| |
| ## Run the application in a subfolder behind a proxy: |
| # proxy_prefix => '/korap', |
| |
| ## The name of the base corpus, |
| ## for query examples (see kalamar.queries.dict) |
| examplecorpus => 'DeLiKo@DNB', |
| |
| ## For further Plugins, add them |
| ## to this array: |
| # plugins => [], |
| ## Currently bundled: Piwik, Auth |
| |
| ## Require everything to be send via https only: |
| # https_only => 1, |
| |
| ## Override default content security policy |
| # cs_policy => "default-src '*';" |
| |
| ## Set proxy timeouts |
| # proxy_inactivity_timeout => 120, |
| # proxy_connect_timeout => 120, |
| }, |
| Localize => { |
| dict => { |
| 'en_title_addon' => 'DeLiKo@DNB', |
| 'de_Template_intro' => 'custom/intro', |
| 'en_Template_intro' => 'custom/intro' |
| }, |
| override => 1 |
| }, |
| 'TagHelpers-ContentBlock' => { |
| footer => [ |
| { |
| inline => '<%= link_to loc("about") => "http://www.ids-mannheim.de/kl/projekte/korap/" %>', |
| position => 70 |
| }, |
| { |
| inline => '<%= link_to loc("imprint") => "https://www.dnb.de/DE/Service/Impressum/impressum_node.html" %>', |
| position => 80 |
| }] |
| } |
| } |