Able to set custom Access-Control-Allow-Origin header (#3987)

Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
This commit is contained in:
Unknwon
2017-01-28 19:59:17 -05:00
parent c98aa0e895
commit 5e01ecbc05
7 changed files with 57 additions and 42 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.123.0128"
const APP_VER = "0.9.124.0128"
func init() {
setting.AppVer = APP_VER