|
@@ -16,7 +16,7 @@
|
|
|
namespace think;
|
|
|
|
|
|
header('Access-Control-Allow-Credentials: true');
|
|
|
-header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE,OPTIONS,OPTION');
|
|
|
+header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE,OPTIONS');
|
|
|
header('Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With');
|
|
|
header('Access-Control-Allow-Origin: *');
|
|
|
|