Skip to content

Commit

Permalink
Use the public tus endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Aug 27, 2024
1 parent c8f077b commit fce7510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/app/shows/[show_id]/rundown/[rundown_id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RundownItems } from "./RundownItems";
import RundownAssets from "./RundownAssets";
import Link from "next/link";
import { TusEndpointProvider } from "@/components/MediaUpload";
import { getTusEndpoint } from "@/lib/tus";
import { getPublicTusEndpoint } from "@/lib/tus";
import { Suspense, cache } from "react";
import { Button } from "@badger/components/button";
import { MetadataTargetType } from "@badger/prisma/client";
Expand Down Expand Up @@ -176,7 +176,7 @@ export default async function RundownPage(props: {

<h2 className="text-xl font-bold">{rundown.name}</h2>
</div>
<TusEndpointProvider value={getTusEndpoint()}>
<TusEndpointProvider value={getPublicTusEndpoint()}>
<Suspense fallback={<div>Loading...</div>}>
<RundownMetadata showID={rundown.showId} rundownID={rundown.id} />
</Suspense>
Expand Down

0 comments on commit fce7510

Please sign in to comment.