-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlupadoku-config.edn
21 lines (21 loc) · 1.22 KB
/
lupadoku-config.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{:http {:port 8011
:mode :dev
:session-key-path "sessionkey"
:cdn-host "http://localhost:8000"
:autologin-check-url "http://localhost:8000/internal/autologin/user"
:arkisto {:host "http://localhost:8012/onkalo"
:app-id "abcdefg"
:app-key "12356afbsb"}
:cookie-attrs {:http-only true
:secure true
:same-site :strict}
:cookie-name "lupapistunto"
:csp {:default-src "'self' localhost:* ws://localhost:*"
:connect-src "'self' localhost:* ws://localhost:* *.lupapiste.fi"
:script-src "'self' 'unsafe-inline' 'unsafe-eval'"
:font-src "'self' https://fonts.gstatic.com"
:style-src "'self' 'unsafe-inline' fonts.googleapis.com"
:img-src "'self' data: localhost:* *.lupapiste.fi"}
}
:db {:uri "mongodb://localhost/lupapiste"}
:logging {:level :info}}