Javascript File at my Wix Site

I need to use a .js ( javascript ) file at my wix site as i described below :

When i call it from another website
i get an error :

The origin of the provided scriptURL (‘other site url’) does not match the current origin does not match the current origin (‘my site url’).

I must upload js file to my website!
NOT TO section.
File must be called as a .js file!

I tried to use Velo but i did not succeed.
I am sure someone knows how to do that, i need urgent help for this.

Best regards and thanks in advance!!!