From b556779532fa2869fd1ae5d9ff6c8aca4e0b378f Mon Sep 17 00:00:00 2001
From: Dave Smith-Hayes <me@davesmithhayes.com>
Date: Sun, 27 Apr 2025 02:56:49 +0000
Subject: [PATCH] Update the configuration for flysystem.

---
 app/src/Bootstrap.php                      | 2 +-
 app/src/Configuration/FileSystemSchema.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/Bootstrap.php b/app/src/Bootstrap.php
index df30aca..ddff202 100644
--- a/app/src/Bootstrap.php
+++ b/app/src/Bootstrap.php
@@ -100,7 +100,7 @@ class Bootstrap
             ],
             'filesystem' => [
                 'type' => 'local',
-                'location' => '/var/slovocast/data'
+                'location' => '/var/www/slovocast/data'
             ]
         ]);
 
diff --git a/app/src/Configuration/FileSystemSchema.php b/app/src/Configuration/FileSystemSchema.php
index 6d76f99..71187da 100644
--- a/app/src/Configuration/FileSystemSchema.php
+++ b/app/src/Configuration/FileSystemSchema.php
@@ -11,7 +11,7 @@ class FileSystemSchema
     {
         return Expect::structure([
             'type' => Expect::anyOf([ 'local', 's3' ])->default('local'),
-            'location' => Expect::string()->default('/var/slovocast/data')->required(),
+            'location' => Expect::string()->default('/var/www/slovocast/data')->required(),
         ]);
     }
 }