Files
payload/demo/payload.config.json
2019-04-27 11:51:23 -04:00

53 lines
875 B
JSON

{
"port": 3000,
"serverUrl": "http://localhost:3000",
"adminURL": "/payload-login",
"routes": {
"api": "/api",
"admin": "/admin"
},
"foo": "bar",
"mongoURL": "mongodb://localhost/payload",
"userModel": "./User/User.model",
"roles": [
"admin",
"editor",
"moderator",
"user",
"viewer"
],
"localization": {
"locales": [
"en",
"es"
],
"defaultLocale": "en",
"fallback": true
},
"staticUrl": "/media",
"staticDir": "demo/media",
"imageSizes": [
{
"name": "tablet",
"width": 640,
"height": 480,
"crop": "left top"
},
{
"name": "mobile",
"width": 320,
"height": 240,
"crop": "left top"
},
{
"name": "icon",
"width": 16,
"height": 16
}
],
"graphQL": {
"path": "/graphql",
"graphiql": true
}
}