Skip to content

Commit bb44a9a

Browse files
committed
代码修复
1 parent a5aa500 commit bb44a9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/Http/Middleware/Cors.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class Cors
1616
public function handle($request, Closure $next)
1717
{
1818
return $next($request)
19-
->header('Access-Control-Allow-Origin', '*')
20-
19+
->header('Access-Control-Allow-Origin', '*');
2120
}
22-
}
21+
}

0 commit comments

Comments
 (0)