Skip to content

Commit

Permalink
php5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed Aug 31, 2017
1 parent 63c0898 commit a8b45a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/SwaggerLumeAssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function index($asset)

return (new Response(
file_get_contents($path), 200, [
'Content-Type' => (pathinfo($asset))['extension'] == 'css' ?
'Content-Type' => pathinfo($asset)['extension'] == 'css' ?
'text/css' : 'application/javascript',
]
))->setSharedMaxAge(31536000)
Expand Down

0 comments on commit a8b45a0

Please sign in to comment.