#Workers route, how to match a specific part of the URI path ?

6 messages · Page 1 of 1 (latest)

harsh shoal
#

Workers route, how to match a specific part of the URI path ?

lone flint
#

This isn't something supported today

#

You'll need to match /nimp/a/*

#

or if you don't know the before part just /*

harsh shoal
#

thanks @lone flint for your confirmation ! The problem is that this is for a customer who is testing workers, they can't send all their traffic to the workers as they will be above the free threshold. I suggest them to use a Snippet instead of a worker to test their script and being more flexible thanks to Snippet rules