Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROOT_URL setting use the default as shown in conf/app.ini #1823

Merged
merged 1 commit into from
Jun 22, 2017

Commits on Jun 22, 2017

  1. ROOT_URL setting use the default as shown in conf/app.ini

    The well commented conf/app.ini file that comes with the code shows the
    ROOT_URL (i.e. setting.AppURL) as:
    
        ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
    
    However the installed custom/conf/app.ini file does not include this setting as
    shown, and the default in the setting module was hard coded to
    http://localhost:3000/ instead of what is shown above.
    
    With this change the ROOT_URL will default to what is shown above if it is not
    set in the custom/conf/app.ini.
    
    Of course it is still possible to override the default by adding the ROOT_URL
    setting to your custom/conf/app.ini file as usual.
    
    Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
    MCF committed Jun 22, 2017
    Configuration menu
    Copy the full SHA
    1513730 View commit details
    Browse the repository at this point in the history