Add production blocks-registry
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user