Skip to content

Commit 8eecbd5

Browse files
committed
remove unused code
1 parent 127deac commit 8eecbd5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

solid/lib/Controller/ServerController.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,7 @@ private function createAuthServerConfig() {
127127
* @NoCSRFRequired
128128
*/
129129
public function cors($path) {
130-
$origin = $_SERVER['HTTP_ORIGIN'];
131130
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');
136131
}
137132

138133
/**

0 commit comments

Comments
 (0)