cqp 11 months ago
parent
commit
ec49920211
1 changed files with 0 additions and 1 deletions
  1. 0 1
      routes/device.php

+ 0 - 1
routes/device.php

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