diff --git a/appinfo/routes.php b/appinfo/routes.php index 9bb1c32..f0ec3c7 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -33,6 +33,12 @@ return ['resources' => 'name' => 'settings#getUserValue', 'url' => '/getuservalue', 'verb' => 'GET' + ], + [ + 'name' => 'noteApi#preflighted_cors', + 'url' => '/api/v1/{path}', + 'verb' => 'OPTIONS', + 'requirements' => ['path' => '.+'] ] ] ];