Mistletoe
Mistletoe
CDCloudflare Developers
Created by Mistletoe on 7/14/2024 in #workers-help
I have problem about Update Cron Triggers on cloudflare API.
Does anyone else have the same symptoms? This seems to be a bug, I think.
2 replies
CDCloudflare Developers
Created by Mistletoe on 5/17/2024 in #general-help
How to enable Route for default workers.dev when deploying Workers Script via API
this is not documented.
5 replies
CDCloudflare Developers
Created by Mistletoe on 5/17/2024 in #general-help
How to enable Route for default workers.dev when deploying Workers Script via API
I've resolved! I can enable default *.workers.dev route by below API request.
curl --request POST \
--url https://api.cloudflare.com/client/v4/accounts/{account_id}/workers/scripts/{script_name}/subdomain \
--header 'Authorization: Bearer {auth_token}' \
--header 'Content-Type: application/json' \
-d '{"enabled":true}'
curl --request POST \
--url https://api.cloudflare.com/client/v4/accounts/{account_id}/workers/scripts/{script_name}/subdomain \
--header 'Authorization: Bearer {auth_token}' \
--header 'Content-Type: application/json' \
-d '{"enabled":true}'
I found this on wlanger. https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/triggers/deploy.ts#L107
5 replies
CDCloudflare Developers
Created by Mistletoe on 5/17/2024 in #general-help
How to enable Route for default workers.dev when deploying Workers Script via API
Oh, I see... I'll check GitHub. Does anyone else know about this?
5 replies