summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSheogorath2018-06-24 00:06:03 +0200
committerSheogorath2018-06-24 00:07:32 +0200
commit0ed4b50098b4329b1d91e519bbbbe4e14701f92f (patch)
tree109e0d0cf888b547bed00c946228810dcf5e9d4a /public
parent7c7cc289f2c2b2e33a32ea32a6e97ea1410cc63e (diff)
Move config out of statics path
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>
Diffstat (limited to '')
-rw-r--r--public/views/includes/scripts.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/includes/scripts.ejs b/public/views/includes/scripts.ejs
index 8766894a..df8fbc00 100644
--- a/public/views/includes/scripts.ejs
+++ b/public/views/includes/scripts.ejs
@@ -1,4 +1,4 @@
-<script src="<%= webpackConfig.output.baseUrl %>/build/constant.js"></script>
+<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>
<% } %>