Load assets accompanying a Javascript from a remote location

前端 未结 2 625
旧时难觅i
旧时难觅i 2020-12-20 09:31

We are running 2 servers. Server 1 hosts a react application. Server 2 hosts a webcomponent exposed as a single javascript bundle along with some assets such as images. We a

2条回答
  •  -上瘾入骨i
    2020-12-20 10:27

    How about uploading all required assets to a 3rd location, or maybe an AWS S3 bucket, Google Drive, Dropbox etc.? That way those assets always have a unique, known URL, and both teams can access them independently. As long as the names remain the same, so will the URLs.

提交回复
热议问题