mirror of https://github.com/status-im/codimd.git
Merge pull request #1378 from hackmdio/bugfix/urlpath
Fix urlpath in webpack build
This commit is contained in:
commit
b634ee2253
|
@ -1,3 +1,3 @@
|
|||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link href="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
|
||||
<link href="<%= '\<\%= serverURL \%\>'%><%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
|
||||
<% } %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script src="<%= webpackConfig.output.baseUrl %>/config"></script>
|
||||
<% for (var js in htmlWebpackPlugin.files.js) { %>
|
||||
<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.js[js] %>" defer></script>
|
||||
<script src="<%= '\<\%= serverURL \%\>'%><%= htmlWebpackPlugin.files.js[js] %>" defer></script>
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in New Issue