Skip to content

Commit

Permalink
feat: update name, short name, and description
Browse files Browse the repository at this point in the history
  • Loading branch information
anoblet authored and pawelkmpt committed Oct 10, 2024
1 parent f27011c commit 0c6eacf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions platforms/web/.env
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions platforms/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0c6eacf

Please sign in to comment.