Skip to content

Commit b13b796

Browse files
committed
Update proxy to support analytics 2.0
1 parent 2acf478 commit b13b796

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ func singleJoiningSlash(a, b string) string {
3232
func NewSegmentReverseProxy(cdn *url.URL, trackingAPI *url.URL) http.Handler {
3333
director := func(req *http.Request) {
3434
// Figure out which server to redirect to based on the incoming request.
35-
// https://segment-cdn.dayforward.com/analytics-next/bundles/130.bundle.9457873b007a93e16765.js
36-
// https://segment-cdn.dayforward.com/analytics-next/bundles/ajs-destination.bundle.c473a3426ccbc3cdfba0.js
37-
// https://prod-segment-cdn.dayforward.com/next-integrations/integrations/facebook-pixel/2.11.4/facebook-pixel.dynamic.js.gz
3835
var target *url.URL
3936
switch {
4037
case strings.HasPrefix(req.URL.String(), "/v1/projects"):

0 commit comments

Comments
 (0)