Can we change cache-manifest.js default path for script

We have website that are proxied partially from certain subdirectory
But is calling instead of

Do we have any mechanism to avoid this 404 error and call ?

No, there is no way to change this URL. If you have a proxy in front of Layer0 that is rewriting path, you need to make sure anything under /layer0/* is not rewritten.