diff --git a/appinfo/routes.php b/appinfo/routes.php index 5413b79f..79afa309 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -76,6 +76,9 @@ return [ //Translations ['name' => 'translation#getLanguageStrings', 'url' => '/api/v2/language', 'verb' => 'GET'], + // + ['name' => 'vault#preflighted_cors', 'url' => '/api/v2/{path}', 'verb' => 'OPTIONS', 'requirements' => array('path' => '.+')], + //Internal API ['name' => 'internal#remind', 'url' => '/api/internal/notifications/remind/{credential_id}', 'verb' => 'POST'], ['name' => 'internal#read', 'url' => '/api/internal/notifications/read/{credential_id}', 'verb' => 'DELETE'],