Skip to content

Commit 971ec9d

Browse files
committed
feat(jellyfin): Add frontend url override as env #374
1 parent 6607654 commit 971ec9d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/backend/common/infrastructure/config/source/jellyfin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ export interface JellyApiData extends CommonSourceData {
9292
* HOST:PORT of the Jellyfin server that your browser will be able to access from the frontend (and thus load images and links from)
9393
* If unspecified it will use the normal server HOST and PORT from the `url`
9494
* Necessary if you are using a reverse proxy or other network configuration that prevents the frontend from accessing the server directly
95+
*
96+
* ENV: JELLYFIN_FRONTEND_URL_OVERRIDE
9597
* */
9698
frontendUrlOverride?: string
9799
}

src/backend/sources/ScrobbleSources.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ export default class ScrobbleSources {
405405
devicesAllow: process.env.JELLYFIN_DEVICES_ALLOW,
406406
deviceBlock: process.env.JELLYFIN_DEVICES_BLOCK,
407407
librariesAllow: process.env.JELLYFIN_LIBRARIES_ALLOW,
408-
librariesBlock: process.env.JELLYFIN_LIBRARIES_BLOCK
408+
librariesBlock: process.env.JELLYFIN_LIBRARIES_BLOCK,
409+
frontendUrlOverride: process.env.JELLYFIN_FRONTEND_URL_OVERRIDE
409410
};
410411
if (!Object.values(j).every(x => x === undefined)) {
411412
configs.push({

0 commit comments

Comments
 (0)