Skip to content

Instantly share code, notes, and snippets.

@vkuznecovas
Created August 23, 2018 12:26
Show Gist options
  • Save vkuznecovas/80f837879f4cb30c70ca746ecd9bfb39 to your computer and use it in GitHub Desktop.
Save vkuznecovas/80f837879f4cb30c70ca746ecd9bfb39 to your computer and use it in GitHub Desktop.
motufhul config for pprof profiling
{
"honeypot": false,
"moderation": {
"enabled": false,
"adminPassword": "somepassword",
"disablePasswordLogin": false,
"oauthCallbackOrigin": "https://api.dizzy.zone",
"sessionDurationSeconds": 21600,
"maxCommentLength": 10000,
"maxAuthorLength": 35,
"path": "/",
"oauthProviders": [
{
"name": "github",
"enabled": false,
"secret": "secret",
"key": "key",
"adminUserIds": [
"id"
]
}
]
},
"database": {
"dialect": "sqlite3",
"database": "./data/test.db"
},
"api": {
"bindAddress": "0.0.0.0",
"port": 8080,
"logging": false,
"debug": false,
"cache": {
"enabled": true,
"intervalInSeconds": 10,
"expiryInSeconds": 300
},
"rateLimiting": {
"enabled": false,
"postsHour": 100
},
"cors": {
"enabled": false,
"allowedOrigins": ["https://dizzy.zone"]
}
},
"client": {
"useDefaultStyle": true,
"pageSize": 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment