ソースを参照

#3078 update default app.ini

Unknwon 9 年 前
コミット
6f6b37f148
2 ファイル変更3 行追加3 行削除
  1. 1 1
      conf/app.ini
  2. 2 2
      modules/bindata/bindata.go

+ 1 - 1
conf/app.ini

@@ -58,7 +58,7 @@ HTTP_PORT = 3000
 ; Local (DMZ) URL for Gogs workers (such as SSH update) accessing web service.
 ; In most cases you do not need to change the default value.
 ; Alter it only if your SSH server node is not the same as HTTP node.
-LOCAL_ROOT_URL = http://localhost:%(HTTP_PORT)s/
+LOCAL_ROOT_URL = %(PROTOCOL)s://localhost:%(HTTP_PORT)s/
 ; Disable SSH feature when not available
 DISABLE_SSH = false
 ; Whether use builtin SSH server or not.

ファイルの差分が大きいため隠しています
+ 2 - 2
modules/bindata/bindata.go