play.filters.headers.contentSecurityPolicy = null
is correct, now remove
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
and then it must work as you expected
play.filters.headers.contentSecurityPolicy = "default-src 'self';script-src 'self' https://my-site.com 'unsafe-inline';style-src 'self' https://my-site.com;font-src 'self' https://my-site.com;img-src 'self' https://my-site.com data:"
my-site.com is the hostname from where my app is served.
- Activator : Play Framework 2.3.x : run vs. start
- How to run Play Framework 2.2.0 with -feature option
- Inline variable in the Play framework 2.x Scala template
- Run test in memory db play framework
- How do I run a comand line scala script that uses Play Framework app database?
- Creating Test Scope/Context to seed data and run application, Scala Play Framework 2
- when I run the play framework example with sbt some error
- Play framework Scala run job in background
- Rendering inline HTML from Play Framework using Scala?
- How to show streams inline as HTTP chunked response with play framework
- Develop and run under different versions of Play Framework
- Play Framework run in production: Bad root server path /var/project/play.crypto.secret
- Play framework not found value routesGenerator when running activator run
- How to run filter on demand scala play framework
- Intellij, run play framework app in a given port
More Query from same tag
- Stop VFP from showing dialog boxes when errors occur
- Attach a file from HDFS to javax.mail email
- Fields are empty when doing GET in elastic4s
- Structural Operators between graphs
- Unapply/pattern matching with scala macros and quasiquotes for knownDirectSubclasses
- Return instance of inner class in nested classes
- Scala initialize a collection type variable to null outside a for loop and assign some method's return value to the variable inside the loop
- External configuration for Play 2 Framework
- How to include class library in Scala project?
- Is there any advantage to avoiding while loops in Scala?
- Scala: Most concise conversion of a CSS color string to RGB integers
- How can I export scala seq to js.Array in case classes
- Feature extraction from a pre trained model(RSNET-152) in MXNET
- What is wrong with the following inheritance/mix in in Scala?
- Cannot resolve method success.unapply when working with a Future[Unit]
- How to get sum of product from columns in 2 data frame using PySpark
- How to find intersection of 2 dataframes based on multiple columns in spark/scala?
- Is it possible to make scalatest to discover within package object?
- How to run tests with excluded tags in scalatest from maven?
- How can I sort an ArraySeq of List by their second element?
- varargs puzzle?
- how to represent nested JSON object in a case class using Json4s?
- Akka Streams and Scala Play server
- Error: java.lang.NoClassDefFoundError: akka/stream/Fusing$ after update to 2.5.2 Akka version
- How to specify that an abstract method's return type is the subclass's type
- Appium get list items
- Create array of literals and columns from List of Strings in Spark
- Slick and nesting case classes a no go?
- Composing Free monads in Scala
- Issue with scala object companion and trait