1 (in-package #:lw2-viewer.config
)
3 (reset-site-definitions)
6 :uri
"http://localhost:4242/"
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/"
14 ; The following line will enable use of fonts.obormot.net.
15 ; This will not work unless you have permission to use these fonts.
17 ; :fonts-source (make-instance 'obormot-fonts-source)
19 :backend
("lw2" ; Supported backends: lw2 lw2-legacy accordius
20 :graphql-uri
"https://www.lesswrong.com/graphql"
21 :websocket-uri
"wss://www.lesswrong.com/"
22 :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"
23 :cache-db-path
"./cache/")) ; Location of the cache database. Be sure to include the trailing slash.
25 ; (You can add more than one define-site directive.)
27 ; Maximum size of the cache database.
28 ; On platforms that don't support sparse files, you may want to reduce this
29 ; to conserve disk space. Default is 2^34 or 16GB.
30 (defparameter *lmdb-mapsize
* (expt 2 34))
32 ; List of DNSBLs to check before allowing users to log in.
33 ;(defparameter *dnsbl-list* (list "dnsbl.example.com"))
35 ; List of extra resources to include on every page on every site.
36 ;(defparameter *html-global-resources* '())