Fixed lagging event listener removal bug with image focus
[lw2-viewer.git] / config-example.lisp
blob7ed240663c5cf8c0724cac76913a145a1115fbc1
1 (in-package #:lw2-viewer.config)
3 (reset-site-definitions)
5 (define-site
6 :uri "http://www.example.com/"
7 :title "Example Site"
8 :description "This is an example."
9 :class lesswrong-viewer-site
10 :main-site-title "LessWrong"
11 :main-site-abbreviation "LW"
12 :main-site-uri "https://www.lesswrong.com/"
13 :backend ("lw2" ; Supported backends: lw2 lw2-legacy accordius
14 :graphql-uri "https://www.lesswrong.com/graphql"
15 :websocket-uri "wss://www.lesswrong.com/"
16 :algolia-search-uri "https://z0gr6exqhd-dsn.algolia.net/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20vanilla%20JavaScript%203.24.5%3Breact-instantsearch%204.1.3%3BJS%20Helper%202.23.0&x-algolia-application-id=Z0GR6EXQHD&x-algolia-api-key=0b1d20b957917dbb5e1c2f3ad1d04ee2"
17 :cache-db-path "./cache/")) ; Location of the cache database. Be sure to include the trailing slash.
19 ; (You can add more than one define-site directive.)
21 ; Maximum size of the cache database.
22 ; On platforms that don't support sparse files, you may want to reduce this
23 ; to conserve disk space. Default is 2^34 or 16GB.
24 (defparameter *lmdb-mapsize* (expt 2 34))