diff --git a/middleware/middleware.go b/middleware/middleware.go index e991176..4f07d4a 100644 --- a/middleware/middleware.go +++ b/middleware/middleware.go @@ -13,7 +13,7 @@ func New(e *echo.Echo, domainName string) { AllowCredentials: true, Skipper: echoMw.DefaultSkipper, AllowOrigins: []string{ - //"http://" + domainName, // added for testing purposes, this is always meant to be behind a reverse proxy + // "http://" + domainName, // added for testing purposes, this is always meant to be behind a reverse proxy "https://" + domainName, }, AllowHeaders: []string{echo.HeaderOrigin, echo.HeaderContentType, echo.HeaderAccept, echo.HeaderAccessControlAllowCredentials, echo.HeaderAccessControlAllowOrigin, echo.HeaderAuthorization},