Skip to content

Commit 078392d

Browse files
authored
fixed the "github suggestion" error
the add suggestion feature seemed to add <html> in the code...? might be an addon on my browser?
1 parent 7b3dc29 commit 078392d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

route.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ public function decode($q, $documentRoot, $requestMethod)
131131
$this->method = 'PUT';
132132
} elseif(in_array($requestMethod, array('POST', 'DELETE', 'PUT'))) {
133133
$this->method = $requestMethod;
134-
}
135-
span class="pl-s1"> elseif($requestMethod === 'OPTIONS') {
134+
} elseif($requestMethod === 'OPTIONS') {
136135
// "CORS PREFLIGHT REQUESTS" EXPECT THESE HEADERS. no content required
137136
header('Access-Control-Allow-Origin: *');
138137
header('Access-Control-Allow-Headers: Authorization');

0 commit comments

Comments
 (0)