You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
auth Add Gitea Webhook (#1755) 7 years ago
avatar Use assert in legacy unit tests (#867) 8 years ago
base xxx_active_code_live setting in printed in hours and minutes instead … (#1814) 7 years ago
context Merge pull request #1829 from ethantkoenig/no_branches 7 years ago
cron LDAP user synchronization (#1478) 7 years ago
highlight No highlighting for .txt files (#1922) 7 years ago
httplib Add internal routes for ssh hook comands (#1471) 7 years ago
indexer Search bar for issues/pulls (#530) 8 years ago
lfs Fix typos in models/ and modules/ (#1248) 7 years ago
log Remove unused mutex field (#1440) 7 years ago
mailer fix misspell (#1996) 7 years ago
markdown Fix rendering of issue checkboxes (#1709) 7 years ago
markup gofmt (#1710) 7 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 7 years ago
notification Notification - Step 1 (#523) 8 years ago
options Fix typos in models/ and modules/ (#1248) 7 years ago
private Drop db operations from hook commands (#1514) 7 years ago
process Refactor process package and introduce ProcessManager{} with tests (#75) 8 years ago
public Allow custom public files (#782) 8 years ago
setting ROOT_URL setting use the default as shown in conf/app.ini (#1823) 7 years ago
ssh Cleanup log messaging 8 years ago
sync Fix status table race condition (#1835) 7 years ago
templates Sanitation fix from Gogs (#1461) 7 years ago
user golint fixed for modules/user 8 years ago
util refactor: remove workaround after the golang 1.7 release. (#1349) 7 years ago
validation Better URL validation (#1507) 7 years ago