Read the statement by Michael Teeuw here.
Compliments with remote file doesnt work.
-
@codac what is the address: in the mm config
if “localhost” try “0.0.0.0”
-
@sdetweil I’m using clientonly so on the client itself, the config wont have any affect, right? Furthermore on the server side there already is set 0.0.0.0
-
@codac fun… yeh, client only , what are u using for the client? MM clientonly or chrome?
if the former, I would try the latter
this is what I use to start the chrome browser over server where electron doesn’t exist
chromium -noerrdialogs -kiosk -start_maximized --disable-infobars --app=http://$server:$port --ignore-certificate-errors-spki-list --ignore-ssl-errors --ignore-certificate-errors 2>/dev/null
do
server= mm server port= mm server port
then the command above in a terminal window to test
-
@codac
Modern browser doesn’t allow cross-originated contents(code, data whatever) by default for security reason. I think there might be an option to turn it off(in browser or electron) I’m in out of my pc, so can’t test it by myself, but definitely exist, I know. -
@codac
In chrome/chromium, it might be--disable-web-security
flag on execution. -
@mmrize and @sdetweil
Yeah, I’ve seen solutions using a htaccess file andAccess-Control-Allow-Origin: https://amazing.site
as content.
Anyhow, I fixed it now placing the remote file on my server and not a remote web-server.
You can enter the local path and filename as stated here.That worked for me.
-
@codac good…
htaccess is on the server side…
this error is server generated, client should NOT be able to 'get around ’ it
-
This post is deleted!