@@ -8,9 +8,6 @@ use trusted_server_common::auth::enforce_basic_auth;
88use trusted_server_common:: error:: TrustedServerError ;
99use trusted_server_common:: generic_proxy:: { handle_generic_proxy, has_proxy_mapping} ;
1010use trusted_server_common:: integrations:: IntegrationRegistry ;
11- use trusted_server_common:: permutive_proxy:: {
12- handle_permutive_api_proxy, handle_permutive_secure_signals_proxy,
13- } ;
1411use trusted_server_common:: permutive_sdk:: handle_permutive_sdk;
1512use trusted_server_common:: proxy:: {
1613 handle_first_party_click, handle_first_party_proxy, handle_first_party_proxy_rebuild,
@@ -68,21 +65,11 @@ async fn route_request(
6865 handle_generic_proxy ( & settings, req) . await
6966 }
7067
71- // Permutive API proxy - /permutive/api/* → api.permutive.com/*
72- ( & Method :: GET | & Method :: POST , path) if path. starts_with ( "/permutive/api/" ) => {
73- handle_permutive_api_proxy ( & settings, req) . await
74- }
75-
76- // Permutive Secure Signals proxy - /permutive/secure-signal/* → secure-signals.permutive.app/*
77- ( & Method :: GET | & Method :: POST , path) if path. starts_with ( "/permutive/secure-signal/" ) => {
78- handle_permutive_secure_signals_proxy ( & settings, req) . await
79- }
80-
8168 // Serve the Permutive SDK (proxied from Permutive CDN)
82- ( & Method :: GET , path) if path. starts_with ( "/static/tsjs=tsjs-permutive-sdk" ) => {
69+ ( Method :: GET , path) if path. starts_with ( "/static/tsjs=tsjs-permutive-sdk" ) => {
8370 handle_permutive_sdk ( & settings, req) . await
8471 }
85-
72+
8673 // Serve the tsjs library (includes permutive-shim bundle)
8774 ( Method :: GET , path) if path. starts_with ( "/static/tsjs=" ) => {
8875 handle_tsjs_dynamic ( & settings, req)
0 commit comments