mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
refactor: only get instanceSettings once from db
This commit is contained in:
1 parent
21612cccf7
commit
88f33be5b6
23 files changed
+54
-51
No files matched your search
@@ -65,7 +65,7 @@ class Handler extends ExceptionHandler
|
||||
if ($e instanceof RuntimeException) {
|
||||
return;
|
||||
}
|
||||
$this->settings = InstanceSettings::get();
|
||||
$this->settings = view()->shared('instanceSettings');
|
||||
if ($this->settings->do_not_track) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user