diff --git a/src/Router/StaticFileHandler.php b/src/Router/StaticFileHandler.php index 9dd7d4c..2a0695a 100644 --- a/src/Router/StaticFileHandler.php +++ b/src/Router/StaticFileHandler.php @@ -35,7 +35,7 @@ public function getFullStaticFilePath(string $filePath): null | string{ }else{ // This is a setting that serves from root URIs (/). It must be processed last so that // other static directories can have a chance to be served - $rootStaticServingSetting = &$staticDirectorySetting; + $rootStaticServingSetting = $staticDirectorySetting; } }