"use strict";const e=new(require("../common/vendor.js").COS)({SecretId:"AKID4KPIyQgjjnkWJzSnwtfHj281tcBZo28v",SecretKey:"kQvMjuscBWgfSCqeHiGfx3vc7PUP7ctx"});exports.uploadFile=function(t){return new Promise(((n,c)=>{e.uploadFile({Bucket:"vv-1317974657",Region:"ap-shanghai",Key:"headerIcon/"+t.name,FilePath:t.path,FileSize:"",SliceSize:2097152,Headers:{"x-cos-meta-test":123}},(function(e,t){e?c(e):n(t.Location)}))}))};
