ee
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -30,7 +30,8 @@ Route::group(array('prefix' => 'api/v1'), function($json) | ... | @@ -30,7 +30,8 @@ Route::group(array('prefix' => 'api/v1'), function($json) |
| 30 | 30 | ||
| 31 | }); | 31 | }); |
| 32 | 32 | ||
| 33 | Route::any('api/update', 'ApiController@update'); | 33 | Route::any('api/update', ['middleware' => 'cors', 'uses' => 'ApiController@update']); |
| 34 | |||
| 34 | Route::any('fileentry/postUpload', 'FileEntryController@postUpload'); | 35 | Route::any('fileentry/postUpload', 'FileEntryController@postUpload'); |
| 35 | 36 | ||
| 36 | Route::get('fileentry/get/{filename}', [ | 37 | Route::get('fileentry/get/{filename}', [ | ... | ... |
-
Please register or sign in to post a comment