Skip to content

Commit 6922a29

Browse files
committed
resolve cors error
1 parent ce4bd72 commit 6922a29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/cors.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@
3939
'Authorization',
4040
],
4141

42+
'expose_headers' => [
43+
'Cache-Control',
44+
'Content-Language',
45+
'Content-Type',
46+
'Expires',
47+
'Last-Modified',
48+
'Pragma',
49+
],
50+
4251
'forbidden_response' => [
4352
'message' => 'Forbidden (cors).',
4453
'status' => 403,

0 commit comments

Comments
 (0)