mirror of
https://gitee.com/liuxioabin/fengketrade.git
synced 2026-04-17 21:03:17 +08:00
跨域
This commit is contained in:
parent
639732e6d1
commit
11f677add2
10
application/extra/fastadmin.php
Normal file
10
application/extra/fastadmin.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* FastAdmin 配置文件
|
||||||
|
*/
|
||||||
|
return [
|
||||||
|
// 跨域请求配置
|
||||||
|
// 多个域名用逗号分隔,*表示允许所有域名
|
||||||
|
'cors_request_domain' => '*',
|
||||||
|
];
|
||||||
@ -41,4 +41,5 @@ return array (
|
|||||||
'mail_smtp_pass' => '',
|
'mail_smtp_pass' => '',
|
||||||
'mail_verify_type' => '2',
|
'mail_verify_type' => '2',
|
||||||
'mail_from' => '',
|
'mail_from' => '',
|
||||||
|
'cors_request_domain' => '*', // 跨域允许的域名,多个用逗号分隔,*表示允许所有
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user