Skip to content

Commit

Permalink
Update app.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Sep 14, 2021
1 parent 91233c8 commit 26e92b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/app.php
Expand Up @@ -37,4 +37,9 @@
'error_message' => '页面错误!请稍后再试~',
// 调试模式异常页面的模板文件
// 'exception_tmpl' => app()->getBasePath() . 'admin/view/error.tpl',

// 自动配置跨域
'cors_auto' => true,
// 配置跨域域名
'cors_host' => [],
];

0 comments on commit 26e92b8

Please sign in to comment.