Skip to content

Instantly share code, notes, and snippets.

@vkuznecovas vkuznecovas/config.json Secret
Created Aug 23, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.