feat(api): add version route

This commit is contained in:
Julien Neuhart
2024-04-17 09:55:38 +02:00
parent e853cfb98a
commit 2267c5be00
6 changed files with 30 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ func webhookMiddleware(w *Webhook) api.Middleware {
}
headers := map[string]string{
echo.HeaderContentType: echo.MIMEApplicationJSONCharsetUTF8,
echo.HeaderContentType: echo.MIMEApplicationJSON,
c.Get("traceHeader").(string): c.Get("trace").(string),
}