-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathstudiocms.config.mjs
55 lines (54 loc) · 1.03 KB
/
studiocms.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { defineStudioCMSConfig } from 'studiocms';
export default defineStudioCMSConfig({
dbStartPage: false,
verbose: true,
dateLocale: 'en-us',
rendererConfig: {
markedConfig: {
highlighterConfig: {
highlighter: 'disabled',
},
},
},
defaultFrontEndConfig: {
favicon: '/favicon.svg',
htmlDefaultHead: [
{
tag: 'script',
attrs: {
src: 'https://analytics.studiocms.xyz/script.js',
'data-website-id': '23a84c25-40fd-4303-a191-aba4bfaf3ff1',
defer: true,
},
},
],
},
includedIntegrations: {
useAstroRobots: true,
useInoxSitemap: true,
},
imageService: {
useUnpic: false,
astroImageServiceConfig: 'no-op',
},
dashboardConfig: {
AuthConfig: {
enabled: true,
providers: {
auth0: false,
discord: false,
github: true,
google: false,
usernameAndPassword: true,
usernameAndPasswordConfig: {
allowUserRegistration: true,
},
},
},
dashboardEnabled: true,
developerConfig: {
viewTransitionAPI: false,
testingAndDemoMode: false,
},
},
});