* @copyright walkor * @link http://www.workerman.net/ * @license http://www.opensource.org/licenses/mit-license.php MIT License */ use Webman\Route; // 给所有OPTIONS请求设置跨域 Route::options('[{path:.+}]', function (){ return response(''); });