Skip to content

A self-hosted media server and file management system

fix livewire 419 after installing reverb

aminnausinfb40a7a034c4
diff --git a/app/Jobs/EmbedUidInMetadata.php b/app/Jobs/EmbedUidInMetadata.php
index 5c5a052f..68f9c66c 100644
--- a/app/Jobs/EmbedUidInMetadata.php
+++ b/app/Jobs/EmbedUidInMetadata.php
@@ -39,7 +39,7 @@ class EmbedUidInMetadata implements ShouldQueue {
$this->filePath = $filePath;
$this->uid = $uid;
- $subTask = SubTask::create(['task_id' => $taskId, 'status' => TaskStatus::PENDING, 'name' => 'Embed UID in video file']); //
+ $subTask = SubTask::create(['task_id' => $taskId, 'status' => TaskStatus::PENDING, 'name' => 'Embed UID in video file ' . basename($filePath)]); //
$this->taskId = $taskId;
$this->subTaskId = $subTask->id;
diff --git a/config/sanctum.php b/config/sanctum.php
index ce46f28b..e78a0c8f 100755
--- a/config/sanctum.php
+++ b/config/sanctum.php
@@ -17,7 +17,7 @@ return [
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
- 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
+ // 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
'localhost:443',
'app.test:8080',
'localhost:8080',
diff --git a/routes/web.php b/routes/web.php
index ffed3872..d4443fc3 100755
--- a/routes/web.php
+++ b/routes/web.php
@@ -30,6 +30,15 @@ Route::get('/signed-url/{path}', function ($path) {
);
})->middleware('auth')->where('path', '.*');
+Route::middleware(['web'])
+ ->group(function () {
+ Route::get('/pulse', function () {
+ return view('vendor.pulse.dashboard');
+ });
+ });
+
+
+
Route::get('/welcome', function () {
return view('welcome');
});