mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
orderbutton/js should have Content-Type: application/javascript header
This commit is contained in:
1 parent
93f5d6fa72
commit
549571ea4b
1 file changed
+1
@@ -46,6 +46,7 @@ class Client implements \Box\InjectionAwareInterface
|
||||
|
||||
public function get_js(\Box_App $app)
|
||||
{
|
||||
header("Content-Type: application/javascript");
|
||||
return $app->render('mod_orderbutton_js');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user