1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Place CSAF files in the right folder.

This commit is contained in:
Sascha L. Teichmann 2021-12-16 15:53:44 +01:00
parent 54fac3b3ab
commit dab359dd91

View file

@ -228,7 +228,7 @@ func (c *controller) upload(r *http.Request) (interface{}, error) {
rolie.Updated = csaf.TimeStamp(time.Now()) rolie.Updated = csaf.TimeStamp(time.Now())
year := strconv.Itoa(ex.currentReleaseDate.Year()) year := strconv.Itoa(ex.initialReleaseDate.Year())
csafURL := c.cfg.Domain + csafURL := c.cfg.Domain +
"/.well-known/csaf/" + ts + "/" + year + "/" + newCSAF "/.well-known/csaf/" + ts + "/" + year + "/" + newCSAF