Fix webpack lookup issue

This commit is contained in:
Itay Mizeretz 2018-08-16 18:30:51 +03:00
parent 422df7c71f
commit 5724d14583
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ let getGroupsOptions = () => {
{ {
shape: 'image', shape: 'image',
size: 50, size: 50,
image: '../' + require('../../images/nodes/' + groupName + '.png') image: require('../../images/nodes/' + groupName + '.png')
}; };
} }

View File

@ -59,6 +59,9 @@ module.exports = {
path.resolve(__dirname, 'src/') path.resolve(__dirname, 'src/')
] ]
}, },
output: {
publicPath: '/'
},
devServer: { devServer: {
proxy: { proxy: {
'/api': { '/api': {