Closed
Description
Let's make usage of CDN configurable via dedicated property. It simplifies the testing of CSP with CDN locally.
The following places should be updated to use this property:
setStaticVariables()
and later pass it toResourceUrl.exposeWebjarResourcesToView()
)- all application-*.properties files should be updated as well -- CDN should be enabled only for "prod" profile
- let's use
Environment.getProperty()
withtrue
as a default value (to ensure that we don't break production)