Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: lowercase site names
Andras Bacsai71194a3f00d7
diff --git a/apps/designer/app/routes/rest/publish.ts b/apps/designer/app/routes/rest/publish.tsindex 9cfe015130..79b5e83675 100644--- a/apps/designer/app/routes/rest/publish.ts+++ b/apps/designer/app/routes/rest/publish.ts@@ -23,7 +23,11 @@ export const action: ActionFunction = async ({ request }) => {headers.append("Authorization", `Bearer ${process.env.CF_TOKEN || ""}`);headers.append("Content-Type", "text/plain");const response = await fetch(- `https://api.cloudflare.com/client/v4/accounts/${process.env.CF_ACCOUNT_ID}/storage/kv/namespaces/${process.env.CF_NAMESPACE_ID}/values/${domain}`,+ `https://api.cloudflare.com/client/v4/accounts/${+ process.env.CF_ACCOUNT_ID+ }/storage/kv/namespaces/${+ process.env.CF_NAMESPACE_ID+ }/values/${domain.toLowerCase()}`,{method: "PUT",headers,