mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Formating Fixes
This commit is contained in:
@@ -140,21 +140,4 @@ class HomeController extends Controller
|
||||
$exists = $favicons->restoreOriginalIfNotExists();
|
||||
return response()->file($exists ? $favicons->getPath() : $favicons->getOriginalPath());
|
||||
}
|
||||
|
||||
/**
|
||||
* Serve the application manifest.
|
||||
* Ensures a 'manifest.json'
|
||||
*/
|
||||
public function manifest()
|
||||
{
|
||||
$manifest = config('manifest');
|
||||
|
||||
if (setting()->getForCurrentUser('dark-mode-enabled')){
|
||||
$manifest["background_color"] = setting('app-color-dark');
|
||||
}else{
|
||||
$manifest["background_color"] = setting('app-color');
|
||||
}
|
||||
|
||||
return response()->json($manifest);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user