diff --git a/plugins/woocommerce-blocks/assets/js/settings/blocks/constants.ts b/plugins/woocommerce-blocks/assets/js/settings/blocks/constants.ts index 8436f26424c..050bb21c3f4 100644 --- a/plugins/woocommerce-blocks/assets/js/settings/blocks/constants.ts +++ b/plugins/woocommerce-blocks/assets/js/settings/blocks/constants.ts @@ -31,7 +31,7 @@ export const blocksConfig = getSetting( 'wcBlocksConfig', { } ) as WcBlocksConfig; export const WC_BLOCKS_IMAGE_URL = blocksConfig.pluginUrl + 'images/'; -export const WC_BLOCKS_BUILD_URL = blocksConfig.pluginUrl + 'build/'; +export const WC_BLOCKS_BUILD_URL = blocksConfig.pluginUrl + 'assets/client/blocks/'; export const WC_BLOCKS_PHASE = blocksConfig.buildPhase; export const SHOP_URL = STORE_PAGES.shop?.permalink; export const CHECKOUT_PAGE_ID = STORE_PAGES.checkout?.id; diff --git a/plugins/woocommerce/src/Blocks/Assets/Api.php b/plugins/woocommerce/src/Blocks/Assets/Api.php index 40262192272..98db199a866 100644 --- a/plugins/woocommerce/src/Blocks/Assets/Api.php +++ b/plugins/woocommerce/src/Blocks/Assets/Api.php @@ -103,7 +103,7 @@ class Api { * Get the path to a block's metadata * * @param string $block_name The block to get metadata for. - * @param string $path Optional. The path to the metadata file inside the 'build' folder. + * @param string $path Optional. The path to the metadata file inside the 'assets/client/blocks' folder. * * @return string|boolean False if metadata file is not found for the block. */