From 05e61298cf4893b814485f104908eac6a024b2c9 Mon Sep 17 00:00:00 2001 From: Zheng Xiangsheng Date: Tue, 11 Feb 2020 00:00:11 +0800 Subject: [PATCH] Make new UI release --- pkg/apiserver/apiserver.go | 6 +++--- ui/.github_release_version | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/apiserver/apiserver.go b/pkg/apiserver/apiserver.go index 4dca6e79a1..9b48c349d9 100644 --- a/pkg/apiserver/apiserver.go +++ b/pkg/apiserver/apiserver.go @@ -37,9 +37,9 @@ func Handler(apiPrefix string, config *config.Config, db *dbstore.DB) http.Handl }) r := gin.New() - r.Use(cors.Default(), - gin.Recovery(), - gzip.Gzip(gzip.BestSpeed)) + r.Use(cors.Default()) + r.Use(gin.Recovery()) + r.Use(gzip.Gzip(gzip.BestSpeed)) endpoint := r.Group(apiPrefix) foo.NewService(config).Register(endpoint) diff --git a/ui/.github_release_version b/ui/.github_release_version index dd65f8fc8d..6b328c1880 100644 --- a/ui/.github_release_version +++ b/ui/.github_release_version @@ -1,3 +1,3 @@ # This file contains a version number which will be used to release assets to # GitHub. To trigger a new asset release, simply increase this version number. -20200109_1 +20200210_1