forgejo/modules
Mike Fellows 32f1c41f28 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>
2017-06-22 15:35:14 +08:00
..
auth Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
avatar
base xxx_active_code_live setting in printed in hours and minutes instead … (#1814) 2017-05-29 02:35:47 -05:00
context Merge pull request #1829 from ethantkoenig/no_branches 2017-06-12 11:05:01 -03:00
cron LDAP user synchronization (#1478) 2017-05-10 15:10:18 +02:00
highlight No highlighting for .txt files (#1922) 2017-06-09 19:39:16 -05:00
httplib Add internal routes for ssh hook comands (#1471) 2017-04-19 11:45:01 +08:00
indexer
lfs Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
log Remove unused mutex field (#1440) 2017-04-04 01:54:02 -07:00
mailer fix misspell (#1996) 2017-06-18 08:30:04 +08:00
markdown Fix rendering of issue checkboxes (#1709) 2017-05-12 15:52:45 +08:00
markup gofmt (#1710) 2017-05-12 16:09:53 +08:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification
options Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
private Drop db operations from hook commands (#1514) 2017-05-04 13:42:02 +08:00
process
public
setting ROOT_URL setting use the default as shown in conf/app.ini (#1823) 2017-06-22 15:35:14 +08:00
ssh
sync Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
templates Sanitation fix from Gogs (#1461) 2017-04-13 10:52:24 +08:00
user
util refactor: remove workaround after the golang 1.7 release. (#1349) 2017-03-29 10:05:23 +08:00
validation Better URL validation (#1507) 2017-04-19 11:02:20 +08:00