mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Update Route.php
新增路由模块中支持'OPTIONS'类型,该类型为跨域请求api时,ajax自动发送OPTIONS类型的请求报500错误问题
This commit is contained in:
@@ -20,6 +20,7 @@ class Route
|
||||
'PUT' => [],
|
||||
'DELETE' => [],
|
||||
'HEAD' => [],
|
||||
'OPTIONS'=> [],
|
||||
'*' => [],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user