The js file cannot be correctly loaded

https://cdn.jsdelivr.net/ghost/sodo-search@~1.5/umd/sodo-search.min.js
https://cdn.jsdelivr.net/ghost/portal@~2.46/umd/portal.min.js
The above js file cannot be correctly loaded due to dns pollution, how to customize and modify the address of this js?

Can you share more information? Is the DNS pollution happening locally?
All app URLs can be configured in your config.*.json. Here are the reference values:

1 Like

Thank you, I understand, need to modify the source code, recompile the project is it? I am currently a docker image deployed application. Is there a convenient way to modify or disable it? Loading this js is sometimes normal, and sometimes there is a network error. Can I download js file directly to local, in reference?

You don’t need to rebuild, just add the parameters to config.production.json

Yes, you can include them locally instead if desired.

Thank you. I entered the docker container and saw the files config.develop. json config.production.json content content.orig current versions. I just need to change config.production.json and that’s ok, right?