allowing requests without Origin header
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -10,7 +10,7 @@ class PreorderApicontroller extends mfBaseApicontroller {
|
||||
|
||||
$this->addRoute("/preorder", "submitPreorder", "POST");
|
||||
|
||||
$this->allowMissingOrigin = false;
|
||||
$this->allowMissingOrigin = true;
|
||||
}
|
||||
|
||||
protected function authenticated() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user