From 8684fae473f42dc09b36df15b57e319545ecd3fe Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 16 Apr 2018 00:14:05 +0100 Subject: [PATCH] kill theming 404s when UTing --- karma.conf.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index c8c0259a..28b25cc1 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -73,11 +73,16 @@ module.exports = function (config) { pattern: 'node_modules/matrix-react-sdk/res/img/*', watched: false, included: false, served: true, nocache: false, }, + { + pattern: 'res/themes/riot/img/*', + watched: false, included: false, served: true, nocache: false, + }, ], proxies: { // redirect img links to the karma server. See above. "/img/": "/base/node_modules/matrix-react-sdk/res/img/", + "/themes/riot/img/": "/base/res/themes/riot/img/", }, // preprocess matching files before serving them to the browser