UNPKG

tencentcloud-edgeone-migration-nodejs-v2

Version:

tencentcloud cdn config copy to edgeone

12 lines (10 loc) 264 B
var CDN2EO = require('./index'); var config = require('./config.json'); var cdn2eo = new CDN2EO({ SecretId: config.SecretId, SecretKey: config.SecretKey, }); cdn2eo.runScdnTasks({ DomainZoneMaps: config.List, NeedCreateDomain: config.NeedCreateDomain });