I want to access my rclone remote control server from a web app in another domain and --rc-allow-origin doesn't seem to work. I need to upload a file from the web app (javascript) and want to do it with the service operations/uploadfile.
In order to test the connectivity I tried with the service rc/noopauth wich works using curl. But when I try it from my javascript code I receive this error from the console :
Should your access-control header specify http://localhost:8080 as an allowed origin, since that's what you're connecting to... Or else try testing at http://myaddress:8080 instead
Sorry if this is a dum question but I'm deploying my web application with a Payara Server at myaddress:8080 and still I get "from origin localhost" such as you mentioned before.
Should I do something to force my Ajax request so that the origin is bound to myaddress or is it the same?