This commit is contained in:
Owen
2025-08-16 22:36:03 -07:00
parent 9de3f14799
commit c24537af36

View File

@@ -338,7 +338,7 @@ func (p *SNIProxy) getRoute(hostname string) (*RouteRecord, error) {
defer cancel()
// Construct API URL
apiURL := fmt.Sprintf("%s/api/route/%s", p.remoteConfigURL, hostname)
apiURL := fmt.Sprintf("%s/gerbil/get-resolved-hostname/%s", p.remoteConfigURL, hostname)
// Create HTTP request
req, err := http.NewRequestWithContext(ctx, "GET", apiURL, nil)