diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index ae6e09f12c..41c073a325 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -59,6 +59,7 @@ if [[ ! -d /usr/lib/jellyfin ]]; then msg_error "No ${APP} Installation Found!"; msg_info "Updating ${APP} LXC" apt-get update &>/dev/null apt-get -y upgrade &>/dev/null +apt-get --with-new-pkgs upgrade jellyfin jellyfin-server &>/dev/null msg_ok "Updated ${APP} LXC" exit } diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index b5422c8615..423c7ad1ef 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -64,6 +64,7 @@ export default function RootLayout({ src={`https://${analytics.url}/script.js`} data-website-id={analytics.token} > + diff --git a/frontend/src/app/scripts/_components/ScriptAccordion.tsx b/frontend/src/app/scripts/_components/ScriptAccordion.tsx index 4a39c40e94..96be28da21 100644 --- a/frontend/src/app/scripts/_components/ScriptAccordion.tsx +++ b/frontend/src/app/scripts/_components/ScriptAccordion.tsx @@ -12,6 +12,7 @@ import { cn } from "@/lib/utils"; import Image from "next/image"; import Link from "next/link"; import { useState } from "react"; +import { basePath } from "@/config/siteConfig"; export default function ScriptAccordion({ items, @@ -104,13 +105,13 @@ export default function ScriptAccordion({ >
((e.currentTarget as HTMLImageElement).src = - "/logo.png") + `/${basePath}/logo.png`) } alt={script.name} className="mr-1 w-4 h-4 rounded-full" diff --git a/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx b/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx index 962e516f8b..1c418c94cd 100644 --- a/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx +++ b/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx @@ -7,7 +7,7 @@ import { CardHeader, CardTitle, } from "@/components/ui/card"; -import { mostPopularScripts } from "@/config/siteConfig"; +import { basePath, mostPopularScripts } from "@/config/siteConfig"; import { extractDate } from "@/lib/time"; import { Category, Script } from "@/lib/types"; import { CalendarPlus } from "lucide-react"; @@ -92,11 +92,15 @@ export function LatestScripts({ items }: { items: Category[] }) {
+ ((e.currentTarget as HTMLImageElement).src = + `/${basePath}/logo.png`) + } className="h-11 w-11 object-contain" />
@@ -161,10 +165,14 @@ export function MostViewedScripts({ items }: { items: Category[] }) {
+ ((e.currentTarget as HTMLImageElement).src = + `/${basePath}/logo.png`) + } className="h-11 w-11 object-contain" />
diff --git a/frontend/src/app/scripts/_components/ScriptItem.tsx b/frontend/src/app/scripts/_components/ScriptItem.tsx index 2d9848dbdc..835fce5769 100644 --- a/frontend/src/app/scripts/_components/ScriptItem.tsx +++ b/frontend/src/app/scripts/_components/ScriptItem.tsx @@ -14,6 +14,7 @@ import Description from "./ScriptItems/Description"; import InstallCommand from "./ScriptItems/InstallCommand"; import InterFaces from "./ScriptItems/InterFaces"; import Tooltips from "./ScriptItems/Tooltips"; +import { basePath } from "@/config/siteConfig"; function ScriptItem({ item, @@ -40,10 +41,11 @@ function ScriptItem({
- ((e.currentTarget as HTMLImageElement).src = "/logo.png") + ((e.currentTarget as HTMLImageElement).src = + `/${basePath}/logo.png`) } height={400} alt={item.name} diff --git a/frontend/src/components/CommandMenu.tsx b/frontend/src/components/CommandMenu.tsx index 140897e5a3..b1c8e1267e 100644 --- a/frontend/src/components/CommandMenu.tsx +++ b/frontend/src/components/CommandMenu.tsx @@ -15,6 +15,7 @@ import React from "react"; import { Badge } from "./ui/badge"; import { Button } from "./ui/button"; import { DialogTitle } from "./ui/dialog"; +import { basePath } from "@/config/siteConfig"; export const formattedBadge = (type: string) => { switch (type) { @@ -102,10 +103,10 @@ export default function CommandMenu() { >
setOpen(false)}> ((e.currentTarget as HTMLImageElement).src = - "/logo.png") + `/${basePath}/logo.png`) } unoptimized width={16}