mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 07:30:54 +00:00
0ed4b50098
Since static path is providing with a high expiration data, we provide configs via API. This shouldn't add any noticeable load while making it uncached and this way working again. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
4 lines
249 B
Text
4 lines
249 B
Text
<script src="<%= webpackConfig.output.baseUrl %>/config"></script>
|
|
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
|
|
<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
|
|
<% } %>
|