Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Launching GWT app on customized hostname

    Hello ,



    We have made following changes in host file under location \etc\hosts

    127.0.0.1 abc.com

    and following changes in <module-name>.gwt.xml

    <set-configuration-property name="devModeUrlWhitelistRegexp" value="https://abc.com|localhost|127\.0\.0\.1|192\.168\.150\.(\d{1,3}))(:\d+)?/?.*" />

    Still the browser shows error attached in screenshot when we are trying to access the url
    https://abc.com:9443/index.html whereas when we type https://localhost:9443/index.html then the application works fine.


    Browser specification Chrome Version 67.0.3396.87








    Attached Files

    #2
    This is not actually a SmartGWT issue as your setup is failing before our software is even involved. However, some guesses:

    1. You may need to manually run a GWT compile

    2. Your whitelist regexp doesn’t look right, as it uses alternation (|) without grouping the alternates via parens

    If this doesn’t help, please pursue this on an appropriate message board, such as the GWT forums.

    Comment

    Working...
    X