kill theming 404s when UTing

This commit is contained in:
Matthew Hodgson 2018-04-16 00:14:05 +01:00
parent 7c1eafd050
commit 8684fae473
1 changed files with 5 additions and 0 deletions

View File

@ -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