1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Formating Fixes

This commit is contained in:
JonatanRek
2023-09-22 11:18:10 +02:00
parent 9b99664bff
commit 2a2f893fcc

View File

@@ -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);
}
}