Skip to content

Commit

Permalink
feat: manually removed redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
demeyerthom committed Feb 21, 2024
1 parent cc17f1b commit 9858ec6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions frontend/client_page_frontastic_page_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ func (rb *FrontasticPageRequestMethodGet) Execute(ctx context.Context) (result *
return nil, err
}
return result, nil
case 301:
errorObj := RedirectResponse{}
err = json.Unmarshal(content, &errorObj)
if err != nil {
return nil, err
}
return nil, errorObj
case 404:
return nil, ErrNotFound
default:
Expand Down

0 comments on commit 9858ec6

Please sign in to comment.