tatorte only available via token

This commit is contained in:
2025-06-23 14:46:09 +02:00
parent 5be47343c4
commit bb98c3656e
10 changed files with 48 additions and 67 deletions

View File

@@ -1,6 +1,5 @@
import { redirect } from '@sveltejs/kit';
/** @type {import('./$types').Actions} */
export const actions = {
default: async ({request}: {request: Request}) => {
const data = await request.formData();

View File

@@ -1,7 +1,6 @@
import { client } from '$lib/minio';
import type { PageServerLoad } from './$types';
/** @type {import('./$types').PageServerLoad} */
export const load: PageServerLoad = async ({ params }) => {
const { vorgang, tatort } = params;
const url = await client.presignedUrl('GET', 'tatort', `${vorgang}/${tatort}`);