Can idea open a html file with http protocol and send a request without a project and module name?

In

idea, if the current file is a HTML file, there will be the following icon in the upper right corner:

clipboard.png

after clicking Open, the meeting http protocol will open HTML.
, but there will be a problem: the project name and module name will be listed when sending the request .

<img src="/img/png.png">

at this point, the path to request the image will be http://localhost:63342/projectname/modulename/img/png.png

.

this cannot be found.
the path where resources can be found should be: http://localhost:63342/img/png.png.

so, is there any way for IDEA to send a request without the project name and module name after opening html?

Mar.21,2021
Menu