Fix broken CMS JS client resources when running on Linux

  • Updated
Description

Some JavaScript resources cannot load when running CMS 12 on DXP Linux, for example: /episerver/shell/12.1.0/clientresources/epi/epi.js. This caused by case-sensitive URL processing in Linux environment.

Resolution

Add RouteOptions to Startup.cs:
services.Configure(o => { o.LowercaseUrls = true; });