Skip to content

Commit 0d54922

Browse files
author
Andy Wermke
committed
Merge pull request andywer#3 from sintemaa/master
Set Content-Type application/javascript for localization.js
2 parents 4e0c60c + f05cc94 commit 0d54922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{
99
$response = new StaticFileResponse( __DIR__."/../public/js/localization.min.js" );
1010
$response->setPublic();
11+
$response->header('Content-Type', 'application/javascript');
1112

1213
return $response;
1314
});

0 commit comments

Comments
 (0)