FreddleSpl0it 2 лет назад
Родитель
Сommit
c92f3fea17
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      data/web/json_api.php

+ 3 - 0
data/web/json_api.php

@@ -2085,6 +2085,9 @@ if (isset($_GET['query'])) {
         case "identity-provider-test":
           process_edit_return(identity_provider('test', $attr));
         break;
+        case "cors":
+          process_edit_return(cors('edit', $attr));
+        break;
         // return no route found if no case is matched
         default:
           http_response_code(404);