For my worker, is there a way in the route or page rule configuration to say mydomain.com/* goes to worker but mydomain.com/admin don’t go to worker but direct to origin? Or this is something I have to deal with in my worker code?
Yes! Let’s say you have a Worker running on
example.com/*. You can create a new route in the Workers tab of the dashboard matching
example.com/admin* with the service set to
None. This will disable workers on that specific path.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.