Skip to main content
3 events
when toggle format what by license comment
Nov 2, 2021 at 1:08 comment added Aziz Saleh @AndrewS It really depends on what language you are using. When I ran into this It was on PHP, so I ended up just doing in the script response header("Content-Type: application/javascript");. Basically, my dynamic JS code was returning the wrong header. For some reason, it was application/json by default. Hope this helps.
Nov 1, 2021 at 0:22 comment added Andrew S It would be very useful if you had mentioned the content header where, i.e. what tag, but as is this is not a useful response.
Mar 27, 2018 at 22:53 history answered Aziz Saleh CC BY-SA 3.0