fix error with undefined env S3_URL_BUCKER_BASE
This commit is contained in:
parent
5e70d8bb86
commit
7cb2847b94
2 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ export function renderIndex() {
|
|||
window.process.env.API_URL = '${process.env.API_URL}';
|
||||
window.process.env.NODE_ENV = '${process.env.NODE_ENV}';
|
||||
window.process.env.S3_BUCKET = '${process.env.S3_BUCKET}';
|
||||
window.process.env.S3_BUCKET_URL_BASE = '${process.env.S3_BUCKET_URL_BASE}';
|
||||
window.process.env.S3_BUCKET_URL_BASE = ${process.env.S3_BUCKET_URL_BASE ? `'${process.env.S3_BUCKET_URL_BASE}'` : undefined};
|
||||
window.process.env.AWS_REGION = '${process.env.AWS_REGION}';
|
||||
window.process.env.FORCE_TO_HTTPS = ${process.env.FORCE_TO_HTTPS === 'false' ? false : undefined};
|
||||
window.process.env.CLIENT = true;
|
||||
|
|
Loading…
Reference in a new issue