switch karma image loc

This commit is contained in:
Matthew Hodgson 2018-04-15 23:52:52 +01:00
parent ce36dec767
commit 0243ec0096

View file

@ -70,14 +70,14 @@ module.exports = function (config) {
// This isn't required by any of the tests, but it stops karma
// logging warnings when it serves a 404 for them.
{
pattern: 'src/skins/vector/img/*',
pattern: 'node_modules/matrix-react-sdk/res/img/*',
watched: false, included: false, served: true, nocache: false,
},
],
proxies: {
// redirect img links to the karma server. See above.
"/img/": "/base/src/skins/vector/img/",
"/img/": "/base/node_modules/matrix-react-sdk/res/img/",
},
// preprocess matching files before serving them to the browser