summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorMike Fellows <Mike.Fellows@shaw.ca>2017-06-22 00:35:14 -0700
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-22 15:35:14 +0800
commit32f1c41f288a654fc8e5642a6681bf492710da3e (patch)
tree393f70a01022a532c5bcd462e1b260ce33f74909 /routers/admin/admin.go
parent2852cca99ea1844132927390db8ce08903997e21 (diff)
downloadgitea-32f1c41f288a654fc8e5642a6681bf492710da3e.tar.gz
gitea-32f1c41f288a654fc8e5642a6681bf492710da3e.zip
ROOT_URL setting use the default as shown in conf/app.ini (#1823)
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>
Diffstat (limited to 'routers/admin/admin.go')
0 files changed, 0 insertions, 0 deletions