mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 11:34:15 -05: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>
|
|
<% } %>
|