File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
embedded/src/org/labkey/embedded Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ context.encryptionKey=@@encryptionKey@@
4646
4747# # By default, we serve LabKey at the root context path (e.g. http://localhost:8080)
4848# # You may customize the context path if you wish (e.g. http://localhost:8080/labkey)
49+ # # Context path value must start with a slash
4950# context.contextPath=/labkey
5051
5152# # Using a legacy context path provides backwards compatibility with old deployments. A typical use case would be to
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public static void main(String[] args)
9494 base-uri 'self' ;
9595 frame-ancestors 'self' ;
9696 frame-src 'self' ${FRAME.SOURCES} ;
97- report-uri /admin-contentSecurityPolicyReport.api?cspVersion=r11&${CSP.REPORT.PARAMS}
97+ report-uri ${context.contextPath:} /admin-contentSecurityPolicyReport.api?cspVersion=r11&${CSP.REPORT.PARAMS}
9898 """
9999 ));
100100 application .setBannerMode (Banner .Mode .OFF );
You can’t perform that action at this time.
0 commit comments