diff options
author | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
---|---|---|
committer | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
commit | 69e332f432c87ce83a488a8c06a02ded26f66beb (patch) | |
tree | 03c8ae1382e92612341df57856e9d1a17e1de8a9 /conf/app.ini | |
parent | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff) | |
download | gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.tar.gz gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.zip |
Removed trailing white spaces
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/conf/app.ini b/conf/app.ini index 99ed628ec1..c646160e50 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -7,14 +7,14 @@ RUN_USER = git RUN_MODE = dev [repository] -ROOT = +ROOT = SCRIPT_TYPE = bash [server] PROTOCOL = http DOMAIN = localhost ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ -HTTP_ADDR = +HTTP_ADDR = HTTP_PORT = 3000 SSH_PORT = 22 ; Disable CDN even in "prod" mode @@ -27,7 +27,7 @@ CERT_FILE = custom/https/cert.pem KEY_FILE = custom/https/key.pem ; Upper level of template and static file path ; default is the path where Gogs is executed -STATIC_ROOT_PATH = +STATIC_ROOT_PATH = ; Application level GZIP support ENABLE_GZIP = false @@ -87,20 +87,20 @@ SUBJECT = %(APP_NAME)s ; Mail server ; Gmail: smtp.gmail.com:587 ; QQ: smtp.qq.com:25 -HOST = +HOST = ; Mail from address -FROM = +FROM = ; Mailer user name and password -USER = -PASSWD = +USER = +PASSWD = [oauth] ENABLED = false [oauth.github] ENABLED = false -CLIENT_ID = -CLIENT_SECRET = +CLIENT_ID = +CLIENT_SECRET = SCOPES = https://api.github.com/user AUTH_URL = https://github.com/login/oauth/authorize TOKEN_URL = https://github.com/login/oauth/access_token @@ -109,16 +109,16 @@ TOKEN_URL = https://github.com/login/oauth/access_token ; https://console.developers.google.com/project [oauth.google] ENABLED = false -CLIENT_ID = -CLIENT_SECRET = +CLIENT_ID = +CLIENT_SECRET = SCOPES = https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile AUTH_URL = https://accounts.google.com/o/oauth2/auth TOKEN_URL = https://accounts.google.com/o/oauth2/token [oauth.qq] ENABLED = false -CLIENT_ID = -CLIENT_SECRET = +CLIENT_ID = +CLIENT_SECRET = SCOPES = all ; QQ 互联 ; AUTH_URL = https://graph.qq.com/oauth2.0/authorize @@ -129,8 +129,8 @@ TOKEN_URL = https://open.t.qq.com/cgi-bin/oauth2/access_token [oauth.weibo] ENABLED = false -CLIENT_ID = -CLIENT_SECRET = +CLIENT_ID = +CLIENT_SECRET = SCOPES = all AUTH_URL = https://api.weibo.com/oauth2/authorize TOKEN_URL = https://api.weibo.com/oauth2/access_token @@ -190,7 +190,7 @@ MAX_FILES = 10 ; Specifies the format for fully outputed dates. Defaults to RFC1123 ; Special supported values are ANSIC, UnixDate, RubyDate, RFC822, RFC822Z, RFC850, RFC1123, RFC1123Z, RFC3339, RFC3339Nano, Kitchen, Stamp, StampMilli, StampMicro and StampNano ; For more information about the format see http://golang.org/pkg/time/#pkg-constants -FORMAT = +FORMAT = [log] ROOT_PATH = @@ -204,11 +204,11 @@ LEVEL = Trace ; For "console" mode only [log.console] -LEVEL = +LEVEL = ; For "file" mode only [log.file] -LEVEL = +LEVEL = ; This enables automated log rotate(switch of following options), default is true LOG_ROTATE = true ; Max line number of single file, default is 1000000 @@ -222,7 +222,7 @@ MAX_DAYS = 7 ; For "conn" mode only [log.conn] -LEVEL = +LEVEL = ; Reconnect host for every single message, default is false RECONNECT_ON_MSG = false ; Try to reconnect when connection is lost, default is false @@ -230,28 +230,28 @@ RECONNECT = false ; Either "tcp", "unix" or "udp", default is "tcp" PROTOCOL = tcp ; Host address -ADDR = +ADDR = ; For "smtp" mode only [log.smtp] -LEVEL = +LEVEL = ; Name displayed in mail title, default is "Diagnostic message from serve" SUBJECT = Diagnostic message from serve ; Mail server -HOST = +HOST = ; Mailer user name and password -USER = +USER = PASSWD = ; Receivers, can be one or more, e.g. ["1@example.com","2@example.com"] -RECEIVERS = +RECEIVERS = ; For "database" mode only [log.database] -LEVEL = +LEVEL = ; Either "mysql" or "postgres" -DRIVER = +DRIVER = ; Based on xorm, e.g.: root:root@localhost/gogs?charset=utf8 -CONN = +CONN = [i18n] LANGS = en-US,zh-CN,de-DE |