Files
ctms-yii/addons-nativeapp/access.php
T
2025-07-13 19:37:38 +08:00

14 lines
399 B
PHP
Executable File

<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T22:35:59+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-07-03T22:40:55+08:00
# @Copyright: www.hiluker.cn
//以下设置用于解决跨域访问的CORS问题,顺便设置来路域名白名单
const ORIGINARR = [
'*' //开发中使用*,允许所有cors源。上线后注释掉
];