mirror of https://github.com/vector-im/riot-web
kill theming 404s when UTing
parent
7c1eafd050
commit
8684fae473
|
@ -73,11 +73,16 @@ module.exports = function (config) {
|
||||||
pattern: 'node_modules/matrix-react-sdk/res/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,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pattern: 'res/themes/riot/img/*',
|
||||||
|
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/node_modules/matrix-react-sdk/res/img/",
|
"/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
|
// preprocess matching files before serving them to the browser
|
||||||
|
|
Loading…
Reference in New Issue