From 78ff366e442092b81019bdc282e29752b37f63fa Mon Sep 17 00:00:00 2001 From: liugq Date: Wed, 13 Apr 2022 20:43:51 +0800 Subject: [PATCH] add info api --- console.yml | 2 ++ main.go | 1 + 2 files changed, 3 insertions(+) diff --git a/console.yml b/console.yml index 8811949c..b7062b00 100644 --- a/console.yml +++ b/console.yml @@ -20,6 +20,8 @@ web: network: binding: 0.0.0.0:9000 skip_occupied_port: true + gzip: + enabled: true elastic: elasticsearch: default diff --git a/main.go b/main.go index 459ce3d5..5ff17781 100644 --- a/main.go +++ b/main.go @@ -27,6 +27,7 @@ import ( api2 "infini.sh/gateway/api" _ "infini.sh/gateway/proxy" _ "infini.sh/console/plugin" + _ "infini.sh/framework/modules/api" ) var appConfig *config.AppConfig