photo-upload und ansicht im admin gefixt

This commit is contained in:
Codex Agent
2025-12-16 16:19:23 +01:00
parent 9e4e9a0d87
commit 0aae494945
4 changed files with 174 additions and 6 deletions

View File

@@ -127,6 +127,12 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
Route::post('/photobooth/sparkbooth/upload', [SparkboothUploadController::class, 'store'])
->name('photobooth.sparkbooth.upload');
Route::get('/tenant/events/{event:slug}/photos/{photo}/{variant}/asset', [PhotoController::class, 'asset'])
->whereNumber('photo')
->where('variant', 'thumbnail|full')
->middleware('signed')
->name('tenant.events.photos.asset');
});
Route::middleware(['auth:sanctum', 'tenant.collaborator', 'tenant.isolation', 'throttle:tenant-api'])->prefix('tenant')->group(function () {