mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update app.php
This commit is contained in:
parent
e6e3c77e22
commit
b4903935a1
@ -41,11 +41,11 @@ return [
|
||||
'cors_methods' => 'GET,PUT,POST,PATCH,DELETE',
|
||||
// CORS 跨域头部字段
|
||||
'cors_headers' => 'Api-Type,Api-Name,Api-Uuid,Api-Token,User-Form-Token,User-Token,Token',
|
||||
// 异常模板路径配置
|
||||
// 异常模板路径配置,仅开发模式有效
|
||||
'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php',
|
||||
// 异常状态模板配置,非开发模式有效
|
||||
// 异常状态模板配置,仅生产模式有效
|
||||
'http_exception_template' => [
|
||||
404 => app()->getRootPath() . 'public/static/theme/err/404.html',
|
||||
500 => app()->getRootPath() . 'public/static/theme/err/500.html'
|
||||
]
|
||||
500 => app()->getRootPath() . 'public/static/theme/err/500.html',
|
||||
],
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user