-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCoCreate.config.js.example
More file actions
41 lines (41 loc) · 1.15 KB
/
CoCreate.config.js.example
File metadata and controls
41 lines (41 loc) · 1.15 KB
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
module.exports = {
"user_id": "<If Known or leave empty>",
"email": "<email to use for loggin>",
"password": "<password to use for loggin>",
"organization_id": "<CoCreate Organization ID>",
"key": "<CoCreate API Key>",
"host": "<CoCreate subdomain or custom domain pointing to CoCreateWS server>"
"storage": {
"mongodb": {
"provider": "mongodb",
"url": [
"<dbUrl>"
]
}
},
"jwttoken": {
"options": {
"algorithm": "HS256",
"expiresIn": "2 days",
"issuer": "issuer"
}
},
"directories": [
{
"entry": "./superadmin",
"array": "files",
"object": {
"name": "{{name}}",
"src": "{{source}}",
"host": [
"*"
],
"directory": "{{directory}}",
"path": "{{path}}",
"pathname": "{{pathname}}",
"content-type": "{{content-type}}",
"public": "true"
}
}
]
}