Skip to content

Commit

Permalink
Fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Apr 2, 2024
1 parent a17bd23 commit c1acd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit c1acd00

Please sign in to comment.