Skip to content

Commit 295d135

Browse files
committed
更新 apiAdmin.php
提升跨域支持
1 parent ff7f878 commit 295d135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/extra/apiAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'CROSS_DOMAIN' => [
3030
'Access-Control-Allow-Origin' => '*',
3131
'Access-Control-Allow-Methods' => 'POST,PUT,GET,DELETE',
32-
'Access-Control-Allow-Headers' => 'ApiAuth, User-Agent, Keep-Alive, Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With',
32+
'Access-Control-Allow-Headers' => 'version, access-token, user-token, ApiAuth, User-Agent, Keep-Alive, Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With',
3333
'Access-Control-Allow-Credentials' => 'true'
3434
],
3535

0 commit comments

Comments
 (0)