UNPKG

tencentcloud-edgeone-migration-nodejs-v2

Version:

tencentcloud cdn config copy to edgeone

13 lines (9 loc) 219 B
var CDN2EO = require('./index'); var config = require('./config.json'); var cdn2eo = new CDN2EO({ SecretId: config.SecretId, SecretKey: config.SecretKey, }); cdn2eo.accessTask({ DomainZoneMaps: config.List });