Last active
August 29, 2015 14:06
-
-
Save iamblue/78d11fd48fd401f3ecce to your computer and use it in GitHub Desktop.
mtk framework config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "livereload" : 35729, | |
| "PORT" : 3000, | |
| "csrf": { // 是否要有csrf功能 | |
| "active": false, | |
| "ignoreMethods" : [ "POST", "GET", "HEAD", "OPTIONS", "DELETE", "PUT" ] | |
| }, | |
| "cookieSession": "mtkcookies", //設定你的cookie session | |
| "redis":{ //設定你的redis | |
| "host":"localhost", | |
| "port": 6379 | |
| }, | |
| "OpenAPILists": true, // 是否要開放api | |
| "socket": true, //是否要使用socket | |
| "cluster": false //是否要使用cluster | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment