mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
23c7b5b0a6
Webpack now uses relative paths for resources linked from by static snippets. A templated <base> tag has been introduced in headers so app.js can set the base URL at runtime. Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
4 lines
158 B
Text
4 lines
158 B
Text
<script src="config"></script>
|
|
<% for (var js in htmlWebpackPlugin.files.js) { %>
|
|
<script src="<%= htmlWebpackPlugin.files.js[js] %>" defer></script>
|
|
<% } %>
|