We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127deac commit 8eecbd5Copy full SHA for 8eecbd5
solid/lib/Controller/ServerController.php
@@ -127,12 +127,7 @@ private function createAuthServerConfig() {
127
* @NoCSRFRequired
128
*/
129
public function cors($path) {
130
- $origin = $_SERVER['HTTP_ORIGIN'];
131
return (new DataResponse('OK'));
132
-// ->addHeader('Access-Control-Allow-Origin', $origin)
133
-// ->addHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization')
134
-// ->addHeader('Access-Control-Allow-Methods', 'POST')
135
-// ->addHeader('Access-Control-Allow-Credentials', 'true');
136
}
137
138
/**
0 commit comments