Proposed LauncherDir change, add template bindAddress replacement

145 vues
Accéder directement au premier message non lu

Brandon Donnelson

non lue,
12 oct. 2016, 13:17:4212/10/2016
à GWT Contributors
What would you think of adding a bindAddress replacement to the template.nocache.js file. __bindAddress__ instead of $window.location.hostname?


Example Source - Used for testing Hack

Reason
Running code server on a local private ip and deploying the web app on a different ip, this simplifies the setup. 

Thoughts? 

Thanks,
Brandon
Screen Shot 2016-10-12 at 10.09.08 AM.png

Brandon Donnelson

non lue,
12 oct. 2016, 13:25:4912/10/2016
à GWT Contributors

David Becker

non lue,
12 oct. 2016, 13:27:1812/10/2016
à GWT Contributors
A while back -bindAddress 0.0.0.0 was changed in GWT 2.8 to use the actual IP address instead of a local hostname to work better when operating in an environment where the local hostname isn't recognized by the client (specifically, things like windows tablets don't seem to recognize the mac myhost.local syntax). This seems like a logical extension of that functionality to cover even more scenarios and sounds good to me.

Brandon Donnelson

non lue,
12 oct. 2016, 18:17:2512/10/2016
à GWT Contributors

Brandon Donnelson

non lue,
14 oct. 2016, 15:31:2914/10/2016
à GWT Contributors
ping

Brandon Donnelson

non lue,
18 oct. 2016, 15:42:4918/10/2016
à GWT Contributors
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message