diff options
author | Mike Crute <mike@crute.us> | 2021-11-21 20:54:43 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2021-11-21 20:54:43 -0800 |
commit | 7d643bc36cb3cd2594f97d1043a0647aa667758a (patch) | |
tree | 1a213fd2d396bc0dffd90fbf3d8f62d8679c119c /app | |
parent | 3a5a7e108d9b20f7ef6a7e4bb8439f6e2ba65fa5 (diff) | |
download | cloud-identity-broker-7d643bc36cb3cd2594f97d1043a0647aa667758a.tar.bz2 cloud-identity-broker-7d643bc36cb3cd2594f97d1043a0647aa667758a.tar.xz cloud-identity-broker-7d643bc36cb3cd2594f97d1043a0647aa667758a.zip |
Restore old content types
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/api_console_redirect.go | 1 | ||||
-rw-r--r-- | app/controllers/api_credentials.go | 1 | ||||
-rw-r--r-- | app/controllers/api_region_list.go | 1 |
3 files changed, 3 insertions, 0 deletions
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 { | |||
30 | DefaultHandler: al.Handle, | 30 | DefaultHandler: al.Handle, |
31 | Handlers: map[string]echo.HandlerFunc{ | 31 | Handlers: map[string]echo.HandlerFunc{ |
32 | contentTypeV1: al.Handle, | 32 | contentTypeV1: al.Handle, |
33 | contentTypeV2: al.Handle, | ||
33 | }, | 34 | }, |
34 | } | 35 | } |
35 | return h.Handle | 36 | 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 { | |||
35 | DefaultHandler: al.Handle, | 35 | DefaultHandler: al.Handle, |
36 | Handlers: map[string]echo.HandlerFunc{ | 36 | Handlers: map[string]echo.HandlerFunc{ |
37 | contentTypeV1: al.Handle, | 37 | contentTypeV1: al.Handle, |
38 | contentTypeV2: al.Handle, | ||
38 | }, | 39 | }, |
39 | } | 40 | } |
40 | return h.Handle | 41 | 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 { | |||
25 | DefaultHandler: al.Handle, | 25 | DefaultHandler: al.Handle, |
26 | Handlers: map[string]echo.HandlerFunc{ | 26 | Handlers: map[string]echo.HandlerFunc{ |
27 | contentTypeV1: al.Handle, | 27 | contentTypeV1: al.Handle, |
28 | contentTypeV2: al.Handle, | ||
28 | }, | 29 | }, |
29 | } | 30 | } |
30 | return h.Handle | 31 | return h.Handle |