The exclude in _routes.json still trigger functions

Could someone assist me in achieving this? Thank you very much. Basiclly how to use _routes.json to avoid triggering functions I created a topic from cloudflare community https://community.cloudflare.com/t/the-exclude-in-routes-json-still-trigger-functions/564831
Cloudflare Community
The exclude in _routes.json still trigger functions
I created a pages project for proofing of concept. I would like functions to only be trigged when accessed through the top-level path, which is handled by function /functions/[catchall].js For examples: https://sow-pages-test.pages.dev/anywords https://sow-pages-test.pages.dev/any-words The result is work as expected. I can my code of [...
1 Reply
node java
node java9mo ago
found out the problem. the problem is /favicon.ico after check functions stream log, so add /favicon.ico in exclude property