allowing requests without Origin header

This commit is contained in:
Frank Schubert
2022-09-15 20:01:14 +02:00
parent 824f3a6ef2
commit 7a867cbc5e
3 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ class AddressdbApicontroller extends mfBaseApicontroller {
$this->addRoute("/addressdb/findZip", "findZip", "POST");
$this->addRoute("/addressdb/findCity", "findCity", "POST");
$this->allowMissingOrigin = false;
$this->allowMissingOrigin = true;
}
protected function authenticated() {

View File

@@ -10,7 +10,7 @@ class PreorderApicontroller extends mfBaseApicontroller {
$this->addRoute("/preorder", "submitPreorder", "POST");
$this->allowMissingOrigin = false;
$this->allowMissingOrigin = true;
}
protected function authenticated() {

View File

@@ -10,6 +10,7 @@ info:
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
servers:
- url: https://thetool-test.xinon.at/api/v1
- url: https://thetool.xinon.at/api/v1
tags:
- name: addressdb