|
@@ -21,20 +21,20 @@ class EnableCrossRequestMiddleware
|
|
$origin = $request->server('HTTP_ORIGIN') ?: '';
|
|
$origin = $request->server('HTTP_ORIGIN') ?: '';
|
|
$allow_origin = [
|
|
$allow_origin = [
|
|
'https://www.xingyousoft.com',
|
|
'https://www.xingyousoft.com',
|
|
-// 'https://audio.zhuyou360.com',
|
|
|
|
-// 'https://backup.zhuyou360.com',
|
|
|
|
-// 'https://batch_create.zhuyou360.com',
|
|
|
|
-// 'https://cad.zhuyou360.com',
|
|
|
|
-// 'https://compress.zhuyou360.com',
|
|
|
|
-// 'https://enlarge.zhuyou360.com',
|
|
|
|
-// 'https://extract.zhuyou360.com',
|
|
|
|
-// 'https://jimp.zhuyou360.com',
|
|
|
|
-// 'https://ocr.zhuyou360.com',
|
|
|
|
-// 'https://pdf.zhuyou360.com',
|
|
|
|
-// 'https://rename.zhuyou360.com',
|
|
|
|
-// 'https://video.zhuyou360.com',
|
|
|
|
-// 'https://videos.zhuyou360.com',
|
|
|
|
-// 'https://watermark.zhuyou360.com',
|
|
|
|
|
|
+// 'https://audio.xingyousoft.com',
|
|
|
|
+// 'https://backup.xingyousoft.com',
|
|
|
|
+// 'https://batch_create.xingyousoft.com',
|
|
|
|
+// 'https://cad.xingyousoft.com',
|
|
|
|
+// 'https://compress.xingyousoft.com',
|
|
|
|
+// 'https://enlarge.xingyousoft.com',
|
|
|
|
+// 'https://extract.xingyousoft.com',
|
|
|
|
+// 'https://jimp.xingyousoft.com',
|
|
|
|
+// 'https://ocr.xingyousoft.com',
|
|
|
|
+// 'https://pdf.xingyousoft.com',
|
|
|
|
+// 'https://rename.xingyousoft.com',
|
|
|
|
+// 'https://video.xingyousoft.com',
|
|
|
|
+// 'https://videos.xingyousoft.com',
|
|
|
|
+// 'https://watermark.xingyousoft.com',
|
|
];
|
|
];
|
|
|
|
|
|
if (in_array($origin, $allow_origin)) {
|
|
if (in_array($origin, $allow_origin)) {
|