From 22bb5ea1b34f4814f9740bbd9aa463b6a04bbbd3 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 14 Jan 2016 02:00:05 +0800 Subject: [PATCH] upgrade nico.js --- nico.js | 2 +- site/templates/layout.html | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/nico.js b/nico.js index e8e8864e01..46b7d682ce 100644 --- a/nico.js +++ b/nico.js @@ -90,7 +90,7 @@ exports.middlewares = [ }, { name: 'webpackDevMiddleware', - filter: /\.(js|css)(\.map)?$/, + filter: /\.(js|css)(\.map)?(\?.*)?$/, handle: function(req, res, next) { handler = handler || webpackMiddleware(webpackCompiler, { publicPath: '/dist/', diff --git a/site/templates/layout.html b/site/templates/layout.html index 3766c19985..5ed3475936 100644 --- a/site/templates/layout.html +++ b/site/templates/layout.html @@ -12,7 +12,7 @@ {% block styles %}{% endblock %} - +