ソースを参照

fix #367

tags/v0.9.99
Unknwon 9年前
コミット
f2c263c54f
3個のファイルの変更6行の追加3行の削除
  1. 1
    1
      gogs.go
  2. 4
    1
      modules/setting/setting.go
  3. 1
    1
      templates/.VERSION

+ 1
- 1
gogs.go ファイルの表示

@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)

const APP_VER = "0.4.7.0824 Alpha"
const APP_VER = "0.4.7.0825 Alpha"

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

+ 4
- 1
modules/setting/setting.go ファイルの表示

@@ -156,7 +156,10 @@ func NewConfigContext() {

AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service")
AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")
AppUrl = Cfg.MustValue("server", "ROOT_URL", "http://localhost:3000")
AppUrl = Cfg.MustValue("server", "ROOT_URL", "http://localhost:3000/")
if AppUrl[len(AppUrl)-1] != '/' {
AppUrl += "/"
}

Protocol = HTTP
if Cfg.MustValue("server", "PROTOCOL") == "https" {

+ 1
- 1
templates/.VERSION ファイルの表示

@@ -1 +1 @@
0.4.7.0824 Alpha
0.4.7.0825 Alpha

読み込み中…
キャンセル
保存