Fix baseUrl not replaced correctly in #1378

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
Yukai Huang 2020-07-06 15:09:10 +08:00
parent 91fb54539a
commit 70de439436
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<script src="<%= webpackConfig.output.baseUrl %>/config"></script>
<script src="<%= '\<\%= serverURL \%\>' %>/config"></script>
<% for (var js in htmlWebpackPlugin.files.js) { %>
<script src="<%= '\<\%= serverURL \%\>'%><%= htmlWebpackPlugin.files.js[js] %>" defer></script>
<% } %>