mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 07:16:02 +00:00
set default api url
This commit is contained in:
parent
4695f6a4e0
commit
13ea6fd1ca
@ -25,6 +25,8 @@ const getClientEnvironment = options => {
|
|||||||
ADMIN_PATH: options.adminPath,
|
ADMIN_PATH: options.adminPath,
|
||||||
NODE_ENV: options.env || 'development',
|
NODE_ENV: options.env || 'development',
|
||||||
STRAPI_ADMIN_BACKEND_URL: options.backend,
|
STRAPI_ADMIN_BACKEND_URL: options.backend,
|
||||||
|
STRAPI_ADMIN_MARKETPLACE_API_URL:
|
||||||
|
process.env.STRAPI_ADMIN_MARKETPLACE_API_URL || 'https://market-api.strapi.io',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user