Webpack css reference picture does not display

when npm run dev previews the page, the image referenced in css cannot be previewed. Report 403. The picture is referenced by the online address background: url ("https://img.codeshelper.com/upload/img/2022/01/09/mntd3sdirqq2426.jpg");

The file preview after

build is fine.

Jan.09,2022

403 is disabled. The image server should be configured with referer to protect against hotlinks.
you can add < meta name= "referrer" content= "no-referrer" > to html to try this

.
Menu