From 7d643bc36cb3cd2594f97d1043a0647aa667758a Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sun, 21 Nov 2021 20:54:43 -0800 Subject: Restore old content types --- app/controllers/api_console_redirect.go | 1 + app/controllers/api_credentials.go | 1 + app/controllers/api_region_list.go | 1 + 3 files changed, 3 insertions(+) diff --git a/app/controllers/api_console_redirect.go b/app/controllers/api_console_redirect.go index 701bbf3..2501a41 100644 --- a/app/controllers/api_console_redirect.go +++ b/app/controllers/api_console_redirect.go @@ -30,6 +30,7 @@ func NewAPIConsoleRedirectHandler(a *AWSAPI, fe string) echo.HandlerFunc { DefaultHandler: al.Handle, Handlers: map[string]echo.HandlerFunc{ contentTypeV1: al.Handle, + contentTypeV2: al.Handle, }, } return h.Handle diff --git a/app/controllers/api_credentials.go b/app/controllers/api_credentials.go index 1cefc07..cd1a912 100644 --- a/app/controllers/api_credentials.go +++ b/app/controllers/api_credentials.go @@ -35,6 +35,7 @@ func NewAPICredentialsHandler(a *AWSAPI) echo.HandlerFunc { DefaultHandler: al.Handle, Handlers: map[string]echo.HandlerFunc{ contentTypeV1: al.Handle, + contentTypeV2: al.Handle, }, } return h.Handle diff --git a/app/controllers/api_region_list.go b/app/controllers/api_region_list.go index 5bd1f7e..44d591c 100644 --- a/app/controllers/api_region_list.go +++ b/app/controllers/api_region_list.go @@ -25,6 +25,7 @@ func NewAPIRegionListHandler(a *AWSAPI) echo.HandlerFunc { DefaultHandler: al.Handle, Handlers: map[string]echo.HandlerFunc{ contentTypeV1: al.Handle, + contentTypeV2: al.Handle, }, } return h.Handle -- cgit v1.2.3