@@ -68,9 +68,9 @@ discard block |
||
68 | 68 | protected function mapApiRoutes(): void |
69 | 69 | { |
70 | 70 | Route::prefix('api') |
71 | - ->middleware('api') |
|
72 | - ->namespace($this->namespace) |
|
73 | - ->group(base_path('routes/api.php')); |
|
71 | + ->middleware('api') |
|
72 | + ->namespace($this->namespace) |
|
73 | + ->group(base_path('routes/api.php')); |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | protected function mapWebRoutes(): void |
84 | 84 | { |
85 | 85 | Route::middleware('web') |
86 | - ->namespace($this->namespace) |
|
87 | - ->group(base_path('routes/web.php')); |
|
86 | + ->namespace($this->namespace) |
|
87 | + ->group(base_path('routes/web.php')); |
|
88 | 88 | } |
89 | 89 | } |
@@ -66,13 +66,13 @@ |
||
66 | 66 | $response = response($result); |
67 | 67 | $name = sprintf('bunq_import_config_%s.json', date('Y-m-d')); |
68 | 68 | $response->header('Content-disposition', 'attachment; filename=' . $name) |
69 | - ->header('Content-Type', 'application/json') |
|
70 | - ->header('Content-Description', 'File Transfer') |
|
71 | - ->header('Connection', 'Keep-Alive') |
|
72 | - ->header('Expires', '0') |
|
73 | - ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
74 | - ->header('Pragma', 'public') |
|
75 | - ->header('Content-Length', strlen($result)); |
|
69 | + ->header('Content-Type', 'application/json') |
|
70 | + ->header('Content-Description', 'File Transfer') |
|
71 | + ->header('Connection', 'Keep-Alive') |
|
72 | + ->header('Expires', '0') |
|
73 | + ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
74 | + ->header('Pragma', 'public') |
|
75 | + ->header('Content-Length', strlen($result)); |
|
76 | 76 | |
77 | 77 | return $response; |
78 | 78 | } |