Fallback value

This commit is contained in:
Alex Tselegidis 2024-01-29 13:16:58 +01:00
parent d64f65e6ae
commit 44ddb63d88

View file

@ -82,7 +82,7 @@ require_once __DIR__ . '/vendor/autoload.php';
*
*/
if (str_contains($_SERVER['REQUEST_URI'], '.min.js.map')) {
if (str_contains((string) $_SERVER['REQUEST_URI'] ?? '', '.min.js.map')) {
http_response_code(404);
exit();
}