File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
components/design-library-list Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2828defined ( 'STACKABLE_VERSION ' ) || define ( 'STACKABLE_VERSION ' , '3.18.0 ' );
2929defined ( 'STACKABLE_FILE ' ) || define ( 'STACKABLE_FILE ' , __FILE__ );
3030defined ( 'STACKABLE_I18N ' ) || define ( 'STACKABLE_I18N ' , 'stackable-ultimate-gutenberg-blocks ' ); // Plugin slug.
31- defined ( 'STACKABLE_DESIGN_LIBRARY_URL ' ) || define ( 'STACKABLE_DESIGN_LIBRARY_URL ' , 'https://storage.googleapis.com/ stackable-plugin-assets ' ); // Design Library CDN URL
31+ defined ( 'STACKABLE_DESIGN_LIBRARY_URL ' ) || define ( 'STACKABLE_DESIGN_LIBRARY_URL ' , 'https://stackable-files.pages.dev ' ); // Design Library CDN URL
3232
3333/********************************************************************************************
3434 * Activation & PHP version checks.
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export const parseDisabledBlocks = parsedBlock => {
199199 return { block, blocksForSubstitution }
200200}
201201
202- const IMAGE_STORAGE = 'https://storage.googleapis.com/ stackable-plugin-assets /library-v4/images/'
202+ const IMAGE_STORAGE = 'https://stackable-files.pages.dev /library-v4/images/'
203203
204204export const addPlaceholderForPostsBlock = ( content , postsPlaceholder , defaultValues ) => {
205205 const remainingPosts = [ ...postsPlaceholder ]
Original file line number Diff line number Diff line change @@ -252,8 +252,7 @@ public function get_design_library_from_cloud() {
252252 $ designs = array ();
253253 $ content = null ;
254254
255- // Add ignoreCache to retrieve the updated file
256- $ response = wp_remote_get ( self ::get_cdn_url () . 'library-v4/library.json?ignoreCache=1 ' );
255+ $ response = wp_remote_get ( self ::get_cdn_url () . 'library-v4/library.json ' );
257256
258257 if ( is_wp_error ( $ response ) ) {
259258 // Add our error message so we can see it in the network tab.
You can’t perform that action at this time.
0 commit comments