diff --git a/templates/jellyfin/index.ts b/templates/jellyfin/index.ts index 61bd0f08..dc33b121 100644 --- a/templates/jellyfin/index.ts +++ b/templates/jellyfin/index.ts @@ -1,22 +1,22 @@ // EXAMPLE import { - generateHash, - generateRandomDomain, - type Template, - type Schema, + type Schema, + type Template, + generateHash, + generateRandomDomain, } from "../utils"; export function generate(schema: Schema): Template { - const mainServiceHash = generateHash(schema.projectName); - const randomDomain = generateRandomDomain(schema); - const port = 8096; - const envs = [ - `JELLYFIN_HOST=${randomDomain}`, - `HASH=${mainServiceHash}`, - `JELLYFIN_PORT=${port}` - ]; + const mainServiceHash = generateHash(schema.projectName); + const randomDomain = generateRandomDomain(schema); + const port = 8096; + const envs = [ + `JELLYFIN_HOST=${randomDomain}`, + `HASH=${mainServiceHash}`, + `JELLYFIN_PORT=${port}`, + ]; - return { - envs, - }; + return { + envs, + }; }