We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b16f4f commit 9afc84bCopy full SHA for 9afc84b
src/utils/proxy.ts
@@ -859,7 +859,8 @@ const onRequest = async (
859
}
860
861
const maybeNotifyActivity = () => {
862
- if (api && process.env.NETLIFY_DEV_SERVER_ID && (req.method === 'GET' || req.url?.startsWith('/.ntlfy-dev/'))) {
+ const isInternalRequest = req.url?.startsWith('/.ntlfy-dev/') && req.method !== 'HEAD'
863
+ if (api && process.env.NETLIFY_DEV_SERVER_ID && (req.method === 'GET' || isInternalRequest)) {
864
notifyActivity(api, siteInfo.id, process.env.NETLIFY_DEV_SERVER_ID)
865
866
0 commit comments