Open negabakuru opened 7 years ago
When running an app in electron, files normally served by the static server ( like http://127.0.0.1:9293/static/img/arrow-right.png ) are not accessible. It returns a 404 error GET http://127.0.0.1:9293/static/img/arrow-right.png 404 (Not Found)
GET http://127.0.0.1:9293/static/img/arrow-right.png 404 (Not Found)
Could you try to modify the webpack.dev.conf.js file and set the output property like the following please ?
webpack.dev.conf.js
output
output: { publicPath: config.build.assetsPublicPath }
When running an app in electron, files normally served by the static server ( like http://127.0.0.1:9293/static/img/arrow-right.png ) are not accessible. It returns a 404 error
GET http://127.0.0.1:9293/static/img/arrow-right.png 404 (Not Found)