gogs 1 жил өмнө
parent
commit
497b7031a3
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      routes/device.php

+ 1 - 0
routes/device.php

@@ -13,6 +13,7 @@
 
 Route::any('/request/heartbeat', 'Api\DeviceController@heartbeat');
 Route::any('/request/addperson', 'Api\DeviceController@addperson');
+Route::any('/capture', 'Api\DeviceController@capture');
 Route::get('/image/{filename}', function ($filename) {
     $path = storage_path('app/public/' . $filename);
     $path = $path.'.jpg';