From 0c6eacf50b5a56943b27e08babd31bd283f898c7 Mon Sep 17 00:00:00 2001 From: Andrew Noblet Date: Wed, 9 Oct 2024 18:12:24 -0400 Subject: [PATCH] feat: update name, short name, and description https://app.clickup.com/t/86b2een91 --- platforms/web/.env | 9 +++++---- platforms/web/vite.config.ts | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/platforms/web/.env b/platforms/web/.env index 8464b45eb..7bbc39daf 100644 --- a/platforms/web/.env +++ b/platforms/web/.env @@ -1,10 +1,11 @@ APP_API_BASE_URL=https://cdn.jwplayer.com APP_PLAYER_ID=M4qoGvUk -# page metadata (SEO) -#APP_NAME= -#APP_SHORT_NAME= -#APP_DESCRIPTION +# Page metadata (SEO) +# These don't work in production. See platforms/web/vite.config.ts. +APP_NAME=CXL +APP_SHORT_NAME=CXL +APP_DESCRIPTION=CXL # UI configuration APP_VERSION=$npm_package_version diff --git a/platforms/web/vite.config.ts b/platforms/web/vite.config.ts index 366269e49..75f715943 100644 --- a/platforms/web/vite.config.ts +++ b/platforms/web/vite.config.ts @@ -36,9 +36,9 @@ export default ({ mode, command }: ConfigEnv): UserConfigExport => { } const app: OTTConfig = { - name: process.env.APP_NAME || 'JW OTT Webapp', - shortname: process.env.APP_SHORT_NAME || 'JW OTT', - description: process.env.APP_DESCRIPTION || 'JW OTT Webapp is an open-source, dynamically generated video website.', + name: process.env.APP_NAME || 'CXL', + shortname: process.env.APP_SHORT_NAME || 'CXL', + description: process.env.APP_DESCRIPTION || 'CXL', }; const bodyFonts = extractExternalFonts(env.APP_BODY_FONT_FAMILY);