ソースを参照

Add AutoHead functionality. (#5186)

Fixes #5153
tags/v1.7.0-dev
zeripath 5年前
コミット
a3e084716e
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      routers/routes/routes.go

+ 1
- 0
routers/routes/routes.go ファイルの表示

@@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
DisableDebug: !setting.EnablePprof,
}))
m.Use(context.Contexter())
m.SetAutoHead(true)
return m
}


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