so what if a client is hosting their domain on cloudflar managing their dns, will it create an issue
so what if a client is hosting their domain on cloudflar managing their dns, will it create an issue if they add a cname to our SaaS worker?


* for the worker route which catches all custom hostnames.
new ReadableStream() is working for me in normal workers, but not workers for platformsError: To use the new ReadableStream() constructor, enable the streams_enable_constructors compatibility flag. Refer to the docs for more information: https://developers.cloudflare.com/workers/platform/compatibility-dates/#compatibility-flagsI was hoping it would be as simple as:
compatibility_flags = ['streams_enable_constructors']wrangler.toml , I get the following error:The compatibility flag streams_enable_constructors became the default as of 2022-11-30 so does not need to be specified anymore. [code: 10021]Current compatibility date (for both platform code, and customer workers):
compatibility_date = "2024-02-21"DELETE to https://api.cloudflare.com/client/v4/accounts/{account_id}/workers/dispatch/namespaces/{namespace}/scripts/{script_name}/secrets/Example ExampleX"could not read content for part metadata"formData.append('metadata.json', new Blob([metadata], { type: 'application/json' }))should be
formData.append('metadata', new Blob([metadata], { type: 'application/json' }))
*.dispatcher.domain.com/**/* routestrackflow.cosmic.marketing redirected you too many times.
Try deleting your cookies.
ERR_TOO_MANY_REDIRECTSnew ReadableStream()compatibility_flags = ['streams_enable_constructors']compatibility_date = "2024-02-21"DELETEhttps://api.cloudflare.com/client/v4/accounts/{account_id}/workers/dispatch/namespaces/{namespace}/scripts/{script_name}/secrets/ExampleExampleXcurl --location --request DELETE 'https://api.cloudflare.com/client/v4/accounts/<ACCOUNT>/workers/scripts/worker-restless-wave-3410/secrets/my-secret' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>'"could not read content for part metadata"const formData = new FormData();
formData.append('main', new File([main], 'main.js', { type: 'application/javascript+module' }));
formData.append('metadata', new File([metadata], 'metadata.json', { type: 'application/json' }));*.dispatcher.domain.com/**/*{
"name": "Example",
"text": "example",
"type": "secret_text"
}{
"result": null,
"success": false,
"errors": [
{
"code": 10013,
"message": "workers.api.error.unknown"
}
],
"messages": []
}{
"code": 10056,
"message": "workers.api.error.binding_not_found"
}{
"type": "queue",
"name": "<TEST_QUEUE>",
"queue_name": "<TEST_QUEUE_NAME>"
}{
"type": "queue",
"name": "<TEST_QUEUE>",
"queue_name": "<TEST_QUEUE_NAME>"
}const main = `
export default {
fetch(request) {
return new Response('Hello World');
}
}
`
const metadata = JSON.stringify({ main_module: "main.js" })
const formData = new FormData();
formData.append('main.js', new Blob([main], { type: 'application/javascript+module' }))
formData.append('metadata.json', new Blob([metadata], { type: 'application/json' }))
return await $fetch(`${baseUrl}/namespaces/timo/scripts/hello`, { method:"PUT", body:formData, headers })