|
@@ -19,7 +19,6 @@ Route::any('/request/addperson', 'Api\DeviceController@addperson');
|
|
|
Route::any('/capture', 'Api\DeviceController@capture');
|
|
|
Route::get('/image/{filename}', function ($filename) {
|
|
|
$path = storage_path('app/public/kq/' . $filename);
|
|
|
- $path = $path.'.jpg';
|
|
|
if (!File::exists($path)) {
|
|
|
abort(404);
|
|
|
}
|