在行业客户中,一般无法提供CDN服务,因此默认关闭CDN动态资源功能:

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:

#
# Set this to true to enable serving dynamically generated CSS, JavaScript,
# and images via a CDN. Setting this to false allows the usage of CDNs that
# do not support lazy loading of resources (e.g. Amazon CloudFront).
#
cdn.dynamic.resources.enabled=true

修改为:

#
# Set this to true to enable serving dynamically generated CSS, JavaScript,
# and images via a CDN. Setting this to false allows the usage of CDNs that
# do not support lazy loading of resources (e.g. Amazon CloudFront).
#
cdn.dynamic.resources.enabled=false

相关文章:

  • 2022-01-18
  • 2021-09-04
  • 2021-11-11
  • 2021-11-27
  • 2021-06-19
猜你喜欢
  • 2021-09-16
  • 2021-08-19
  • 2021-11-05
  • 2021-10-07
  • 2021-07-25
相关资源
相似解决方案