From 83cdd93e3662bdd8643b50dafe9254bf8328d686 Mon Sep 17 00:00:00 2001 From: Anton Lantukh Date: Thu, 1 Jun 2023 18:17:22 +0200 Subject: [PATCH] fix(chore): replace configs --- docs/configuration.md | 4 ++-- ini/templates/.webapp.dev.ini | 2 +- ini/templates/.webapp.prod.ini | 2 +- ini/templates/.webapp.test.ini | 4 ++-- test/constants.ts | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 880ed7b04..506121e23 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -8,12 +8,12 @@ The easiest way to maintain configuration files is to use the 'Apps' section in Which app config file the application uses is determined by the [ini file](initialization-file.md). You can specify the default that the application starts with and also which config, if any, it will allow to be set using the [`app-config=` query param](#switching-between-app-configs). -The location is usually specified by the 8-character ID (i.e. `ehon8mco`) of the App Config from your JWP account, in which case the file will be loaded from the JW Player App Config delivery endpoint (i.e. `https://cdn.jwplayer.com/apps/configs/ehon8mco.json`). +The location is usually specified by the 8-character ID (i.e. `gnnuzabk`) of the App Config from your JWP account, in which case the file will be loaded from the JW Player App Config delivery endpoint (i.e. `https://cdn.jwplayer.com/apps/configs/gnnuzabk.json`). You may also specify a relative or absolute URL. ### Switching between app configs -As mentioned above, if you have 1 or more additional allowed sources (see additionalAllowedConfigSources in [`initialization-file`](initialization-file.md)), you can switch between them by adding `app-config=` as a query parameter in the web app URL in your browser (i.e. `https:///?app-config=ehon8mco`). +As mentioned above, if you have 1 or more additional allowed sources (see additionalAllowedConfigSources in [`initialization-file`](initialization-file.md)), you can switch between them by adding `app-config=` as a query parameter in the web app URL in your browser (i.e. `https:///?app-config=gnnuzabk`). The parameter is automatically evaluated, loaded, and stored in browser session storage and should remain part of the url as the user navigates around the site. diff --git a/ini/templates/.webapp.dev.ini b/ini/templates/.webapp.dev.ini index e171226cf..01fd5196a 100644 --- a/ini/templates/.webapp.dev.ini +++ b/ini/templates/.webapp.dev.ini @@ -1,4 +1,4 @@ ; This is a basic Blender demo -defaultConfigSource = ehon8mco +defaultConfigSource = gnnuzabk ; When developing, switching between configs is useful for test and debug UNSAFE_allowAnyConfigSource = true diff --git a/ini/templates/.webapp.prod.ini b/ini/templates/.webapp.prod.ini index e7d1409c8..c9a913815 100644 --- a/ini/templates/.webapp.prod.ini +++ b/ini/templates/.webapp.prod.ini @@ -1,5 +1,5 @@ ; This is the app config that your application will load at startup -defaultConfigSource = ; Enter your 8 digit config ID (i.e. ehon8mco) here (case sensitive) +defaultConfigSource = ; Enter your 8 digit config ID (i.e. gnnuzabk) here (case sensitive) ; This key ensures proper integration with the JW Platform. ; Please make sure to set it here unless you are setting it at build time with the APP_PLAYER_LICENSE_KEY env variable. diff --git a/ini/templates/.webapp.test.ini b/ini/templates/.webapp.test.ini index f063dadd9..95f961195 100644 --- a/ini/templates/.webapp.test.ini +++ b/ini/templates/.webapp.test.ini @@ -1,6 +1,6 @@ -defaultConfigSource = ehon8mco +defaultConfigSource = gnnuzabk additionalAllowedConfigSources[] = kujzeu1b -additionalAllowedConfigSources[] = 7xlh4b33 +additionalAllowedConfigSources[] = ata6ucb8 additionalAllowedConfigSources[] = nvqkufhy additionalAllowedConfigSources[] = 7weyqrua additionalAllowedConfigSources[] = ozylzc5m diff --git a/test/constants.ts b/test/constants.ts index b2b41d392..f47389388 100644 --- a/test/constants.ts +++ b/test/constants.ts @@ -14,7 +14,7 @@ export const testConfigs = { label: 'JWP Authvod (No WL)', }, basicNoAuth: { - id: 'ehon8mco', + id: 'gnnuzabk', label: 'Demo App (No Auth)', }, noStyling: { @@ -22,7 +22,7 @@ export const testConfigs = { label: 'No Styling (No Auth)', }, inlinePlayer: { - id: '7xlh4b33', + id: 'ata6ucb8', label: 'Inline Player', }, cleengAuthvod: {