These come from the Header.html.ftl file in the webroot component and use values like this:
${sri.buildUrl(scriptLocation).url}
There are many URLs generated like this with the full URL including hostname and such. When not running locally you'll almost always need to set the external hostname and ports in the Moqui Conf XML file. For example:
<webapp-list>
<webapp name="webroot" http-host="www.mydomain.com" http-port="80" https-enabled="false">
<root-screen host=".*" location="component://webroot/screen/webroot.xml"/>
</webapp>
</webapp-list>
Note that this still has https-enabled="false". If you set that to true also set the @https-host and @https-post attributes.
Note that if you leave any of http-host, http-port, https-host, or https-port empty they will default to the hostname and port on the HTTP request. This is the way to handle it for virtual hosting for multi-tenant or multi-root screen setups. For this to work it is necessary that any load balancer or other other proxy (such as mod-proxy on httpd) be setup to pass through this HTTP request information.