mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Added configurable robots.txt file.
Deleted old static file. Default output depends on app-public setting. Otherwise can be overidden in `.env` file via `ALLOW_ROBOTS` Otherwise view file can be customized. Fixes #779
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
Route::get('/translations', 'HomeController@getTranslations');
|
||||
Route::get('/icon/{iconName}.svg', 'HomeController@getIcon');
|
||||
Route::get('/robots.txt', 'HomeController@getRobots');
|
||||
|
||||
// Authenticated routes...
|
||||
Route::group(['middleware' => 'auth'], function () {
|
||||
|
Reference in New Issue
Block a user