[MM-60655] Issue in subpath hosting after changes in root.html (#28617)

Этот коммит содержится в:
M-ZubairAhmed
2024-10-17 01:13:16 +00:00
коммит произвёл GitHub
родитель c0df35b93e
Коммит 48cde8c0bf
3 изменённых файлов: 16 добавлений и 13 удалений

Просмотреть файл

@@ -19,11 +19,14 @@
<link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-64x64.png" sizes="64x64">
<link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-96x96.png" sizes="96x96">
<!-- Initialize subpath empty script for subpath support which will be replaced by server/channels/utils/subpath.go -->
<script id="publicPathInWindowScript"></script>
<!--
This "empty" link element is used as a dynamic inject placeholder for the syntax highlighting css styles:
1. The highlight.js lib finds this element by its 'code_theme' class.
2. The lib dynamically defines the 'href' attribute and its value to load the required CSS for the detected language by its detection logic.
3. This allows it to do at runtime theme switching without havint to modifying the DOM structure.
3. This allows it to do at runtime theme switching without having to modify the DOM structure.
4. The 'href' attribute is empty to prevent unnecessary HTTP requests.
-->
<link rel='stylesheet' class='code_theme'>