File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -859,15 +859,13 @@ const onRequest = async (
859
859
}
860
860
861
861
const maybeNotifyActivity = ( ) => {
862
- if ( req . method === 'GET' && api && process . env . NETLIFY_DEV_SERVER_ID ) {
862
+ if ( api && process . env . NETLIFY_DEV_SERVER_ID && ( req . method === 'GET' || req . url ?. startsWith ( '/.ntlfy-dev/' ) ) ) {
863
863
notifyActivity ( api , siteInfo . id , process . env . NETLIFY_DEV_SERVER_ID )
864
864
}
865
865
}
866
866
867
867
if ( match ) {
868
- if ( ! isExternal ( match ) ) {
869
- maybeNotifyActivity ( )
870
- }
868
+ maybeNotifyActivity ( )
871
869
872
870
// We don't want to generate an ETag for 3xx redirects.
873
871
// @ts -expect-error TS(7031) FIXME: Binding element 'statusCode' implicitly has an 'an... Remove this comment to see the full error message
You can’t perform that action at this time.
0 commit comments