mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Hide /logo/ 404s for ninja install
This commit is contained in:
parent
ca6a28e817
commit
6a5b189912
@ -54,6 +54,11 @@ class Handler extends ExceptionHandler
|
||||
if (Crawler::isCrawler()) {
|
||||
return false;
|
||||
}
|
||||
// The logo can take a few seconds to get synced between servers
|
||||
// TODO: remove once we're using cloud storage for logos
|
||||
if (Utils::isNinja() && strpos(request()->url(), '/logo/') !== false) {
|
||||
return false;
|
||||
}
|
||||
} elseif ($e instanceof HttpResponseException) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user