@@ -44,13 +44,13 @@ |
||
| 44 | 44 | $response = response($result); |
| 45 | 45 | $name = sprintf('import_config_%s.json', date('Y-m-d')); |
| 46 | 46 | $response->header('Content-disposition', 'attachment; filename=' . $name) |
| 47 | - ->header('Content-Type', 'application/json') |
|
| 48 | - ->header('Content-Description', 'File Transfer') |
|
| 49 | - ->header('Connection', 'Keep-Alive') |
|
| 50 | - ->header('Expires', '0') |
|
| 51 | - ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
| 52 | - ->header('Pragma', 'public') |
|
| 53 | - ->header('Content-Length', strlen($result)); |
|
| 47 | + ->header('Content-Type', 'application/json') |
|
| 48 | + ->header('Content-Description', 'File Transfer') |
|
| 49 | + ->header('Connection', 'Keep-Alive') |
|
| 50 | + ->header('Expires', '0') |
|
| 51 | + ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
| 52 | + ->header('Pragma', 'public') |
|
| 53 | + ->header('Content-Length', strlen($result)); |
|
| 54 | 54 | |
| 55 | 55 | return $response; |
| 56 | 56 | } |