Files are stored in cloud storage. There is a cross-domain resource problem when obtaining files using CDN.

< H2 > question < / H2 >
css,js files are stored in Tencent Cloud"s cos (object Cloud Storage), where font.css has a request to obtain fonts, icons and other files in the same directory. Some of the code is as follows.
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 300;
  src: local("Source Sans Pro Light"), local("SourceSansPro-Light"), url("../fonts/sourcesanspro/sourcesanspro-light.woff") format("woff");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  src: local("Source Sans Pro"), local("SourceSansPro-Regular"), url("../fonts/sourcesanspro/sourcesanspro.woff") format("woff");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 700;
  src: local("Source Sans Pro Bold"), local("SourceSansPro-Bold"), url("../fonts/sourcesanspro/sourcesanspro-bold.woff") format("woff");
}
@font-face{font-family:iconfont;src:url(../fonts/iconfont/iconfont.eot?t=1517993881078);src:url(../fonts/iconfont/iconfont.eot?t=1517993881078-sharpiefix) format("embedded-opentype"),url(../fonts/iconfont/iconfont.woff?t=1517993881078) format("woff"),url(../fonts/iconfont/iconfont.ttf?t=1517993881078) format("truetype"),url(../fonts/iconfont/iconfont.svg?t=1517993881078-sharpiconfont) format("svg")}
Cloud storage uses a custom domain name, and then go to Tencent Cloud CDN configuration page-"Advanced configuration -" HTTP Header configuration-"
"
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Max-Age: 1728000
The

problem is still unsolved, and sometimes an error is made that the Access-Control-Allow-Origin is empty. There are also sometimes errors that Access-Control-Allow-Origin has two *.

now I don"t know how to set it up. Ask the god to help solve it.
Mar.05,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9e586-19ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9e586-19ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?