update datadog url

This commit is contained in:
Ulric Qin 2021-12-29 14:52:22 +08:00
parent d57415d23d
commit 3700f7a10b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func configRoute(r *gin.Engine, version string) {
}) })
// use apiKey not basic auth // use apiKey not basic auth
r.POST("/datadog/v1/series", datadogSeries) r.POST("/datadog/api/v1/series", datadogSeries)
if len(config.C.BasicAuth) > 0 { if len(config.C.BasicAuth) > 0 {
auth := gin.BasicAuth(config.C.BasicAuth) auth := gin.BasicAuth(config.C.BasicAuth)