Insert root link only if html content

This commit is contained in:
Emmanuel Engelhart 2021-05-14 14:49:28 +02:00
parent 39b62c6108
commit 05cc3d015f
1 changed files with 2 additions and 2 deletions

View File

@ -260,9 +260,9 @@ Response::create_mhd_response(const RequestContext& request)
MHD_Response* MHD_Response*
ContentResponse::create_mhd_response(const RequestContext& request) ContentResponse::create_mhd_response(const RequestContext& request)
{ {
inject_root_link();
if (contentDecorationAllowed()) { if (contentDecorationAllowed()) {
inject_root_link();
if (m_withTaskbar) { if (m_withTaskbar) {
introduce_taskbar(); introduce_taskbar();
} }