-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
40 lines (33 loc) · 849 Bytes
/
app.js
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
import apostrophe from 'apostrophe';
apostrophe({
root: import.meta,
shortName: 'CHANGEME',
nestedModuleSubdirs: true,
modules: {
'@apostrophecms/attachment': {
options: {
uploadfs: {
// Be sure to change
disabledFileKey: 'CHANGEME'
}
}
},
'@apostrophecms/express': {
options: {
session: {
secret: 'CHANGEME'
}
}
},
// Use Vite as the asset bundler and HMR server
'@apostrophecms/vite': {},
// Just a nice place to keep helper functions that are
// used across all sites
helpers: {},
'default-page': {},
// The @apostrophecms/home-page module always exists, no need to activate it here
'@apostrophecms-pro/palette': {},
'@apostrophecms-pro/document-versions': {},
'theme-default': {}
}
});