From 40c67a0bd85c71551ec23284c3ccd45986a4a982 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Wed, 5 Oct 2022 14:18:29 +0300 Subject: [PATCH] Add production blocks-registry --- create-block.js | 2 +- server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/create-block.js b/create-block.js index d76a092..5e0ead3 100755 --- a/create-block.js +++ b/create-block.js @@ -15,7 +15,7 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const isDev = process.env.NODE_ENV === 'development' || (config.has('isDev') && config.get('isDev')); // Check README file in case you get "missing files" error. -const blocksRegistry = isDev ? 'http://localhost:3020' : 'http://localhost:3020'; +const blocksRegistry = isDev ? 'http://localhost:3020' : 'https://axe-web-blocks-registry.captain.devdevdev.life/'; const blocksDirectory = isDev ? 'blocks/' : ''; console.log(__dirname); diff --git a/server.js b/server.js index 5a4a44a..41743e5 100755 --- a/server.js +++ b/server.js @@ -25,7 +25,7 @@ import archiver from 'archiver'; */ const isDev = process.env.NODE_ENV === 'development' || (config.has('isDev') && config.get('isDev')); // Check README file in case you get "missing files" error. -const blocksRegistry = isDev ? 'http://localhost:3020' : 'http://localhost:3020'; +const blocksRegistry = isDev ? 'http://localhost:3020' : 'https://axe-web-blocks-registry.captain.devdevdev.life/'; const modulePath = isDev ? '' : 'node_modules/create-block-dev-tool/'; const projectDir = modulePath;