diff --git a/public/editor-client/src/defaultTemplates/index.ts b/public/editor-client/src/defaultTemplates/index.ts index 81b85bee9..4b1379ed7 100644 --- a/public/editor-client/src/defaultTemplates/index.ts +++ b/public/editor-client/src/defaultTemplates/index.ts @@ -47,7 +47,11 @@ const defaultKits = ( return { async getMeta(res, rej, kit) { try { - const data = await getDefaultKits(blocksChunkUrl, kit.id); + console.log("TEMPORARY URL, SHOULD BE STANDARD = ", blocksChunkUrl); + const data = await getDefaultKits( + "https://phplaravel-1109775-4184176.cloudwaysapps.com/api/get-kit-collections-chunk", + kit.id + ); const { types, blocks } = converterKit( data.blocks, @@ -193,9 +197,13 @@ const defaultLayouts = ( return { async getMeta(res, rej) { try { - const { templates, categories } = await getDefaultLayouts( + console.log( + "TEMPORARY URL, SHOULD BE STANDARD = ", layoutsChunkUrl ); + const { templates, categories } = await getDefaultLayouts( + "https://phplaravel-1109775-4184176.cloudwaysapps.com/api/get-layouts-chunk" + ); const data: LayoutsWithThumbs = { templates: convertLayouts(templates, templatesImageUrl),