Merge pull request #11179 from ramonlsouza/issue-11116

Fixes closed captions language list
This commit is contained in:
Anton Georgiev 2021-01-19 15:31:32 -05:00 committed by GitHub
commit 62aca3b8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ const CAPTIONS_CONFIG = Meteor.settings.public.captions;
const BASENAME = Meteor.settings.public.app.basename;
const APP = Meteor.settings.private.app;
const INSTANCE_ID = Meteor.settings.public.app.instanceId;
const LOCALES_URL = `http://${APP.host}:${APP.port}${BASENAME}${INSTANCE_ID}${APP.localesUrl} `;
const LOCALES_URL = `http://${APP.host}:${process.env.PORT}${BASENAME}${INSTANCE_ID}${APP.localesUrl} `;
const CAPTIONS = '_captions_';
const TOKEN = '$';