去掉webman/cors 跨域组件

This commit is contained in:
hgc 2024-12-23 19:00:36 +08:00
parent 3c5778aa47
commit bc889b918a
4 changed files with 2 additions and 56 deletions

View File

@ -40,8 +40,7 @@
"illuminate/redis": "^10.48",
"symfony/var-dumper": "^6.4",
"webman/think-orm": "^1.1",
"phpoffice/phpspreadsheet": "^3.6",
"webman/cors": "^1.0"
"phpoffice/phpspreadsheet": "^3.6"
},
"suggest": {
"ext-event": "For better performance. "

32
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2c1b8b0e9c047637f20d3f84ec8deb36",
"content-hash": "69fc720415852f55d5319c4ab078fb79",
"packages": [
{
"name": "brick/math",
@ -3955,36 +3955,6 @@
},
"time": "2022-08-18T12:14:59+00:00"
},
{
"name": "webman/cors",
"version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/webman-php/cors.git",
"reference": "a5396634fd2ee4e7b15abba0bab45f28e1c1ad02"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webman-php/cors/zipball/a5396634fd2ee4e7b15abba0bab45f28e1c1ad02",
"reference": "a5396634fd2ee4e7b15abba0bab45f28e1c1ad02",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-4": {
"Webman\\Cors\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"support": {
"issues": "https://github.com/webman-php/cors/issues",
"source": "https://github.com/webman-php/cors/tree/v1.0.1"
},
"time": "2022-11-05T11:16:20+00:00"
},
{
"name": "webman/event",
"version": "v1.0.5",

View File

@ -1,4 +0,0 @@
<?php
return [
'enable' => true,
];

View File

@ -1,19 +0,0 @@
<?php
/**
* This file is part of webman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @author walkor<walkor@workerman.net>
* @copyright walkor<walkor@workerman.net>
* @link http://www.workerman.net/
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
return [
'' => [
\Webman\Cors\CORS::class
]
];