* MM-23574: Eliminate Segment.

* Update dependencies.

* Fix review suggestions.
Этот коммит содержится в:
George Goldberg
2020-06-22 08:35:03 +01:00
коммит произвёл GitHub
родитель 6158e91308
Коммит e5addef19b
35 изменённых файлов: 22 добавлений и 2184 удалений

Просмотреть файл

@@ -167,7 +167,7 @@ func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Set("X-Frame-Options", "SAMEORIGIN")
// Set content security policy. This is also specified in the root.html of the webapp in a meta tag.
w.Header().Set("Content-Security-Policy", fmt.Sprintf(
"frame-ancestors 'self'; script-src 'self' cdn.rudderlabs.com cdn.segment.com/analytics.js/%s",
"frame-ancestors 'self'; script-src 'self' cdn.rudderlabs.com%s",
h.cspShaDirective,
))
} else {