switch karma image loc

pull/6500/head
Matthew Hodgson 2018-04-15 23:52:52 +01:00
parent ce36dec767
commit 0243ec0096
1 changed files with 2 additions and 2 deletions

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