| @@ -1,6 +1,7 @@ | |||||
| 'use strict'; | 'use strict'; | ||||
| export default { | export default { | ||||
| resource_on: false, | |||||
| domains:[ | domains:[ | ||||
| // "oa.live.educlouddata.com", | // "oa.live.educlouddata.com", | ||||
| // "m.live.educlouddata.com", | // "m.live.educlouddata.com", | ||||
| @@ -0,0 +1,12 @@ | |||||
| 'use strict'; | |||||
| export default { | |||||
| resource_on: false, | |||||
| domains:[ | |||||
| "filea.oa.qbjjyyun.net", | |||||
| "fileb.oa.qbjjyyun.net", | |||||
| "filec.oa.qbjjyyun.net", | |||||
| "fileupload.oa.qbjjyyun.net", | |||||
| ], | |||||
| CERT_DIR:"/etc/nginx/cert" | |||||
| }; | |||||
| @@ -2,14 +2,13 @@ | |||||
| export default { | export default { | ||||
| domains:[ | domains:[ | ||||
| // "oa.live.educlouddata.com", | |||||
| // "m.live.educlouddata.com", | |||||
| // "yun.live.educlouddata.com", | |||||
| // "yunh5.live.educlouddata.com", | |||||
| // "kms.live.educlouddata.com", | |||||
| // "ams.live.educlouddata.com", | |||||
| "oa.live.educlouddata.com", | |||||
| "m.live.educlouddata.com", | |||||
| "yun.live.educlouddata.com", | |||||
| "yunh5.live.educlouddata.com", | |||||
| "kms.live.educlouddata.com", | |||||
| "ams.live.educlouddata.com", | |||||
| "data.live.educlouddata.com", | "data.live.educlouddata.com", | ||||
| "live.qqsrx.top", | |||||
| ], | ], | ||||
| CERT_DIR:"/usr/local/nginx/conf/cert" | CERT_DIR:"/usr/local/nginx/conf/cert" | ||||
| }; | }; | ||||
| @@ -1,5 +1,18 @@ | |||||
| 'use strict'; | 'use strict'; | ||||
| export default { | export default { | ||||
| resource_on: false | |||||
| resource_on: false, | |||||
| domains:[ | |||||
| // "oa.qbjjyyun.net", | |||||
| // "m.qbjjyyun.net", | |||||
| // "yun.qbjjyyun.net", | |||||
| // "m.ykj.qbjjyyun.net", | |||||
| // "admin.ykj.qbjjyyun.net", | |||||
| // "kms.qbjjyyun.net", | |||||
| // "ams.qbjjyyun.net", | |||||
| // "data.qbjjyyun.net", | |||||
| "xxzz.qbjjyyun.net", | |||||
| "xxzz.h5.qbjjyyun.net", | |||||
| ], | |||||
| CERT_DIR:"/etc/nginx/cert" | |||||
| }; | }; | ||||
| @@ -0,0 +1,21 @@ | |||||
| var thinkjs = require('thinkjs'); | |||||
| var path = require('path'); | |||||
| var rootPath = path.dirname(__dirname); | |||||
| var instance = new thinkjs({ | |||||
| APP_PATH: rootPath + path.sep + 'app', | |||||
| RUNTIME_PATH: rootPath + path.sep + 'runtime', | |||||
| ROOT_PATH: rootPath, | |||||
| RESOURCE_PATH: __dirname, | |||||
| env: 'file' | |||||
| }); | |||||
| // Build code from src to app directory. | |||||
| instance.compile({ | |||||
| log: true, | |||||
| presets: [], | |||||
| plugins: [] | |||||
| }); | |||||
| instance.run(); | |||||