Describe the solution
Hi, when currently using routes for Workers with wildcards, you get the following error:
✘ [ERROR] Cannot use "*.admin.my.app" as a Custom Domain; wildcard operators (*) are not allowed
Example config:
routes = [
{ pattern = "my.app", custom_domain = true },
{ pattern = "*.my.app", custom_domain = true }
]
When doing the same thing in the dashboard, it works fine, resulting in:

However, when adding some routes in the dashboard manually but managing others in the toml file, the next deployment overwrites the manually added domains... :-(
Describe the solution
Hi, when currently using routes for Workers with wildcards, you get the following error:
Example config:
When doing the same thing in the dashboard, it works fine, resulting in:

However, when adding some routes in the dashboard manually but managing others in the toml file, the next deployment overwrites the manually added domains... :-(