AshleyScirra commented on issue #1004:
URL: 
https://github.com/apache/cordova-android/issues/1004#issuecomment-648859023


   Ah, I see, interesting.
   
   It sounds like an alternative could be to host on a custom local domain, 
e.g. `https://cordova.local`. I imagine this then makes it clear whether the 
request should be served locally by matching the `cordova.local` domain on the 
request, and then everything is still treated as same-origin and using the 
well-defined and stable `https` scheme. (Would that work? It seems odd to use 
https without a certificate, but if that will do the job then I think it's fine)
   
   The real motivation here is to not use `file:` due to the cross-origin 
obstacles it would throw in the way, so a custom domain on https would still 
solve the original problem. So could that work instead?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to