mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Got image uploads working
This commit is contained in:
@@ -29,6 +29,10 @@ Route::group(['prefix' => 'books'], function() {
|
||||
Route::put('/{bookSlug}/{pageSlug}', 'PageController@update');
|
||||
});
|
||||
|
||||
Route::post('/upload/image', 'ImageController@upload');
|
||||
|
||||
Route::get('/images/{any}', 'ImageController@getImage')->where('any', '.*');
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('base');
|
||||
});
|
||||
|
Reference in New Issue
Block a user