Commit 9a848bc2 by 孙龙

up

parent 4362d872
Showing with 2 additions and 0 deletions
......@@ -18,6 +18,7 @@ class CrossHttp
$response->header('Access-Control-Expose-Headers', 'Authorization, authenticated');
$response->header('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, OPTIONS');
$response->header('Access-Control-Allow-Credentials', 'true');
$response->header('Content-type:', 'text/html; charset=utf-8"');
return $response;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment