Skip to content

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.

Remove useless comment

istarkov8c247442164f
diff --git a/packages/asset-uploader/src/utils/get-asset-path.ts b/packages/asset-uploader/src/utils/get-asset-path.ts
index 7079162c66..8490fd566e 100644
--- a/packages/asset-uploader/src/utils/get-asset-path.ts
+++ b/packages/asset-uploader/src/utils/get-asset-path.ts
@@ -29,7 +29,6 @@ export const getAssetPath = (asset: DbAsset) => {
}
const s3Url = new URL(s3Envs.data.S3_ENDPOINT);
s3Url.hostname = `${s3Envs.data.S3_BUCKET}.${s3Url.hostname}`;
- // See above comment about double encoding
s3Url.pathname = asset.name;
return s3Url.toString();
}