|
|
@ -27,8 +27,10 @@ import PluginError from 'plugin-error'; |
|
|
* Constants |
|
|
* Constants |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
const PRODUCTION_REGISTRY_URL = 'https://blocks-registery.axe-web.com'; |
|
|
|
|
|
|
|
|
const {isDev, modulesPath, projectPath, developmentBlockName} = getConfigs(); |
|
|
const {isDev, modulesPath, projectPath, developmentBlockName} = getConfigs(); |
|
|
const blocksRegistry = isDev ? 'http://localhost:3020' : 'https://axe-web-blocks-registry.captain.devdevdev.life'; |
|
|
const blocksRegistry = isDev ? 'http://localhost:3020' : PRODUCTION_REGISTRY_URL; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Init server |
|
|
* Init server |
|
|
|