File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,12 @@ export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
106
106
// proxyMap is a map of the proxy path_app_url to the proxy object.
107
107
// This is for the observer to know which requests are important to
108
108
// record.
109
- const proxyChecks = proxiesResp . regions . reduce ( ( acc , proxy ) => {
109
+ const proxyChecks2 = proxiesResp . regions . reduce ( ( acc , proxy ) => {
110
110
if ( ! proxy . healthy ) {
111
111
return acc
112
112
}
113
113
114
- const url = new URL ( "/healthz " , proxy . path_app_url )
114
+ const url = new URL ( "/latency-check " , proxy . path_app_url )
115
115
acc [ url . toString ( ) ] = proxy
116
116
return acc
117
117
} , { } as Record < string , Region > )
@@ -125,7 +125,7 @@ export const ProxyProvider: FC<PropsWithChildren> = ({ children }) => {
125
125
return
126
126
}
127
127
128
- const check = proxyChecks [ entry . name ]
128
+ const check = proxyChecks2 [ entry . name ]
129
129
if ( ! check ) {
130
130
// This is not a proxy request.
131
131
return
You can’t perform that action at this time.
0 commit comments