Skip to content

Commit

Permalink
Use default videos as an example
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-asriyan committed Feb 4, 2025
1 parent 27efcdf commit 65111d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ VITE_API_VIDEO_EXTRACTOR_URL=
# list of urls of custom web-torrent trackers separated by comma
VITE_WEB_TORRENT_TRACKERS=

# video URL examples (URL-encoded) separated by comma
VITE_URL_EXAMPLES=

# videos that should play on backgound if source is empty
VITE_DEFAULT_VIDEOS=

Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ ARG VITE_API_HTTP_PROXY_URL
ARG VITE_API_VIDEO_EXTRACTOR_URL
ARG VITE_SENTRY_DSN
ARG VITE_ANALYTICS_MEASHUREMENT_ID
ARG VITE_URL_EXAMPLES
ARG VITE_VERSION
ARG NODE_ENV

Expand Down
4 changes: 2 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export const iceServers = JSON.parse(atob(import.meta.env['VITE_ICE_SERVERS_JSON

export const webTorrentTrackers: string[] = import.meta.env['VITE_WEB_TORRENT_TRACKERS']?.split(',').map((x: string) => x.trim());

export const urlExamples: string[] = import.meta.env['VITE_URL_EXAMPLES']?.split(',').map((x: string) => x.trim());

export const userNames: string[] = import.meta.env['VITE_USERNAMES']?.split(',').map((x: string) => x.trim());

export const reactions: string = import.meta.env['VITE_REACTIONS']?.split(',').map((x: string) => x.trim());

export const defaultVideos: string[] = import.meta.env['VITE_DEFAULT_VIDEOS'].split(',').map((x: string) => x.trim());

export const urlExamples: string[] = defaultVideos;

export const version: string = import.meta.env['VITE_VERSION']?.trim() || null;

0 comments on commit 65111d1

Please sign in to comment.