mirror of https://github.com/vector-im/riot-web
switch karma image loc
parent
ce36dec767
commit
0243ec0096
|
@ -70,14 +70,14 @@ module.exports = function (config) {
|
||||||
// This isn't required by any of the tests, but it stops karma
|
// This isn't required by any of the tests, but it stops karma
|
||||||
// logging warnings when it serves a 404 for them.
|
// 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,
|
watched: false, included: false, served: true, nocache: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
proxies: {
|
proxies: {
|
||||||
// redirect img links to the karma server. See above.
|
// 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
|
// preprocess matching files before serving them to the browser
|
||||||
|
|
Loading…
Reference in New Issue